Magenta
#B420F8
PurpleColor Codes
All color formats for development
HEX
#B420F8RGB
rgb(180, 32, 248)HSL
hsl(281, 94%, 55%)OKLCH
oklch(0.598 0.285 310.8)CMYK
cmyk(27%, 87%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#AA08F5
2#9707DA
3#8406BE
4#7105A3
5#5E0488
6#4B036D
7#390352
8#260236
9#13011B
Tints
Lighter variations
1#BB37F9
2#C34DF9
3#CA63FA
4#D279FB
5#D990FC
6#E1A6FC
7#E8BCFD
8#F0D2FE
9#F7E9FE
Tones
Muted variations
1#B02BED
2#AC36E3
3#A841D8
4#A44CCD
5#A056C2
6#9C61B7
7#986CAD
8#9477A2
9#908197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FAF0 #FAF0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F3DC #F3DCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | E9BF #E9BFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | D98D #D98DFB | BordersInactive statesPlaceholder text |
| 400 | C552 #C552FA | Disabled statesSecondary iconsMuted text |
| 500 | B420 #B420F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 9707 #9707DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 7805 #7805AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 5604 #56047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 3702 #37024F | Primary textHigh emphasis contentDark headings |
| 950 | 2202 #220231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--magenta-50: #FAF0FF;
--magenta-100: #F3DCFE;
--magenta-200: #E9BFFD;
--magenta-300: #D98DFB;
--magenta-400: #C552FA;
--magenta-500: #B420F8;
--magenta-600: #9707DA;
--magenta-700: #7805AD;
--magenta-800: #56047C;
--magenta-900: #37024F;
--magenta-950: #220231;
}