Magenta
#B31AFF
PurpleColor Codes
All color formats for development
HEX
#B31AFFRGB
rgb(179, 26, 255)HSL
hsl(280, 100%, 55%)OKLCH
oklch(0.599 0.293 309.2)CMYK
cmyk(30%, 90%, 0%, 0%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#A800FC
2#9600E0
3#8300C4
4#7000A8
5#5E008C
6#4B0070
7#380054
8#250038
9#13001C
Tints
Lighter variations
1#BA30FF
2#C247FF
3#C95EFF
4#D175FF
5#D98CFF
6#E0A3FF
7#E8BAFF
8#F0D1FF
9#F7E8FF
Tones
Muted variations
1#AF25F4
2#AB30E8
3#A73CDD
4#A347D1
5#9F53C6
6#9C5EBA
7#986AAF
8#9475A3
9#908198
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FAF0 #FAF0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F3DB #F3DBFF | Light backgroundsTable row hoverSkeleton loading |
| 200 | E9BD #E9BDFF | Secondary backgroundsInput backgroundsDividers |
| 300 | D88A #D88AFF | BordersInactive statesPlaceholder text |
| 400 | C44D #C44DFF | Disabled statesSecondary iconsMuted text |
| 500 | B31A #B31AFF | Primary brand colorCTAsActive elementsLinks |
| 600 | 9600 #9600E0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 7700 #7700B3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 5500 #550080 | Text on light backgroundsHeadingsStrong borders |
| 900 | 3600 #360052 | Primary textHigh emphasis contentDark headings |
| 950 | 2200 #220033 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--magenta-50: #FAF0FF;
--magenta-100: #F3DBFF;
--magenta-200: #E9BDFF;
--magenta-300: #D88AFF;
--magenta-400: #C44DFF;
--magenta-500: #B31AFF;
--magenta-600: #9600E0;
--magenta-700: #7700B3;
--magenta-800: #550080;
--magenta-900: #360052;
--magenta-950: #220033;
}