#9E51DC#9E51DC
#9E51DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.207 H 306.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9E51DC |
|---|---|
| RGB | rgb(158, 81, 220) |
| HSL | hsl(273, 67%, 59%) |
| HSV | hsv(273, 63%, 86%) |
| CMYK | cmyk(28.2%, 63.2%, 0%, 13.7%) |
| CIE-LAB | lab(49.88, 56.29, -58.74) |
| CIE-LCH | lch(49.88, 81.36, 313.78°) |
| OKLab | oklab(59.24% 0.1234 -0.1662) |
| OKLCH | oklch(59.24% 0.207 306.6) |
| XYZ | xyz(29.9585, 18.3216, 69.6544) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.90
Lighter Purple
#A55AF4
ΔE00 4.48
Purpley
#8756E4
ΔE00 4.63
Amethyst
#9B5FC0
ΔE00 5.59
Mediumorchid
#BA55D3
ΔE00 6.33
Electric Purple
#AA23FF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E51DC #8FDC51
analogous
#5951DC #9E51DC #DC51D5
triadic
#9E51DC #DC9E51 #51DC9E
tetradic
#9E51DC #DC5951 #8FDC51 #51D5DC
square
#9E51DC #DC5951 #8FDC51 #51D5DC
split-complementary
#9E51DC #D5DC51 #51DC59
monochromatic
#601E95 #8128C8 #9E51DC #BA84E6 #D7B7F0
Accessibility & contrast
On white
4.50
#9E51DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#9E51DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E51DC
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E51DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E51DC | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#946E8F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9e51dc; /* rgb */ color: rgb(158, 81, 220); /* oklch */ color: oklch(59.2% 0.207 306.6);
Tailwind
colors: {
custom: {
50: '#bf86e8',
500: '#9e51dc',
950: '#000000',
},
}SCSS
$custom: #9e51dc; $custom-light: #bf86e8; $custom-dark: #000000;
JSON
{
"hex": "#9e51dc",
"rgb": {
"r": 158,
"g": 81,
"b": 220
},
"hsl": {
"h": 273.237,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.59236,
"c": 0.20699,
"h": 306.6
},
"luminance": 0.18321
}Semantic roles & 50–950 ramp
primary
#9E51DC
secondary
#C1E0A9
accent
#E93E8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84