#9F51DE#9F51DE
#9F51DE is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.209 H 306.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F51DE |
|---|---|
| RGB | rgb(159, 81, 222) |
| HSL | hsl(273, 68%, 59%) |
| HSV | hsv(273, 64%, 87%) |
| CMYK | cmyk(28.4%, 63.5%, 0%, 12.9%) |
| CIE-LAB | lab(50.13, 56.97, -59.46) |
| CIE-LCH | lch(50.13, 82.35, 313.77°) |
| OKLab | oklab(59.48% 0.1246 -0.1683) |
| OKLCH | oklch(59.48% 0.209 306.5) |
| XYZ | xyz(30.4225, 18.5300, 71.0670) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.59
Lighter Purple
#A55AF4
ΔE00 4.18
Purpley
#8756E4
ΔE00 4.67
Amethyst
#9B5FC0
ΔE00 5.77
Mediumorchid
#BA55D3
ΔE00 6.26
Electric Purple
#AA23FF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F51DE #90DE51
analogous
#5851DE #9F51DE #DE51D7
triadic
#9F51DE #DE9F51 #51DE9F
tetradic
#9F51DE #DE5851 #90DE51 #51D7DE
square
#9F51DE #DE5851 #90DE51 #51D7DE
split-complementary
#9F51DE #D7DE51 #51DE58
monochromatic
#611D98 #8227CB #9F51DE #BB84E8 #D8B8F2
Accessibility & contrast
On white
4.46
#9F51DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9F51DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F51DE
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F51DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F51DE | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#956E90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f51de; /* rgb */ color: rgb(159, 81, 222); /* oklch */ color: oklch(59.5% 0.209 306.5);
Tailwind
colors: {
custom: {
50: '#c086e9',
500: '#9f51de',
950: '#000000',
},
}SCSS
$custom: #9f51de; $custom-light: #c086e9; $custom-dark: #000000;
JSON
{
"hex": "#9f51de",
"rgb": {
"r": 159,
"g": 81,
"b": 222
},
"hsl": {
"h": 273.191,
"s": 68.116,
"l": 59.412
},
"oklch": {
"l": 0.59483,
"c": 0.20937,
"h": 306.5
},
"luminance": 0.1853
}Semantic roles & 50–950 ramp
primary
#9F51DE
secondary
#C2E1AA
accent
#EB3D8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84