#9A4AE1#9A4AE1
#9A4AE1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.220 H 304.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4AE1 |
|---|---|
| RGB | rgb(154, 74, 225) |
| HSL | hsl(272, 72%, 59%) |
| HSV | hsv(272, 67%, 88%) |
| CMYK | cmyk(31.6%, 67.1%, 0%, 11.8%) |
| CIE-LAB | lab(48.52, 59.92, -63.81) |
| CIE-LCH | lch(48.52, 87.53, 313.20°) |
| OKLab | oklab(58.25% 0.1255 -0.1812) |
| OKLCH | oklch(58.25% 0.22 304.7) |
| XYZ | xyz(29.3628, 17.2040, 72.9934) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.12
Purpley
#8756E4
ΔE00 4.10
Electric Purple
#AA23FF
ΔE00 5.19
Lighter Purple
#A55AF4
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.75
Bright Violet
#AD0AFD
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4AE1 #91E14A
analogous
#4E4AE1 #9A4AE1 #E14ADC
triadic
#9A4AE1 #E19A4A #4AE19A
tetradic
#9A4AE1 #E14E4A #91E14A #4ADCE1
square
#9A4AE1 #E14E4A #91E14A #4ADCE1
split-complementary
#9A4AE1 #DCE14A #4AE14E
monochromatic
#5C1997 #7C22CC #9A4AE1 #B77EEA #D5B3F2
Accessibility & contrast
On white
4.73
#9A4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9A4AE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4AE1
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4AE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4AE1 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#8D6C90
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9a4ae1; /* rgb */ color: rgb(154, 74, 225); /* oklch */ color: oklch(58.3% 0.220 304.7);
Tailwind
colors: {
custom: {
50: '#bd82eb',
500: '#9a4ae1',
950: '#000000',
},
}SCSS
$custom: #9a4ae1; $custom-light: #bd82eb; $custom-dark: #000000;
JSON
{
"hex": "#9a4ae1",
"rgb": {
"r": 154,
"g": 74,
"b": 225
},
"hsl": {
"h": 271.788,
"s": 71.564,
"l": 58.627
},
"oklch": {
"l": 0.58251,
"c": 0.22037,
"h": 304.7
},
"luminance": 0.17204
}Semantic roles & 50–950 ramp
primary
#9A4AE1
secondary
#C2E1A6
accent
#EE398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84