#9F4DE7#9F4DE7
#9F4DE7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.224 H 304.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4DE7 |
|---|---|
| RGB | rgb(159, 77, 231) |
| HSL | hsl(272, 76%, 60%) |
| HSV | hsv(272, 67%, 91%) |
| CMYK | cmyk(31.2%, 66.7%, 0%, 9.4%) |
| CIE-LAB | lab(50.04, 60.91, -64.71) |
| CIE-LCH | lch(50.04, 88.87, 313.27°) |
| OKLab | oklab(59.6% 0.1282 -0.1837) |
| OKLCH | oklch(59.6% 0.224 304.9) |
| XYZ | xyz(31.3725, 18.4484, 77.4939) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.75
Lighter Purple
#A55AF4
ΔE00 3.93
Purpley
#8756E4
ΔE00 4.38
Electric Purple
#AA23FF
ΔE00 5.24
Neon Purple
#BC13FE
ΔE00 6.03
Bright Violet
#AD0AFD
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4DE7 #95E74D
analogous
#524DE7 #9F4DE7 #E74DE2
triadic
#9F4DE7 #E79F4D #4DE79F
tetradic
#9F4DE7 #E7524D #95E74D #4DE2E7
square
#9F4DE7 #E7524D #95E74D #4DE2E7
split-complementary
#9F4DE7 #E2E74D #4DE752
monochromatic
#6116A4 #821DD9 #9F4DE7 #BC83EE #D9B9F6
Accessibility & contrast
On white
4.48
#9F4DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#9F4DE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4DE7
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4DE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4DE7 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#926F94
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f4de7; /* rgb */ color: rgb(159, 77, 231); /* oklch */ color: oklch(59.6% 0.224 304.9);
Tailwind
colors: {
custom: {
50: '#c084ef',
500: '#9f4de7',
950: '#000000',
},
}SCSS
$custom: #9f4de7; $custom-light: #c084ef; $custom-dark: #000000;
JSON
{
"hex": "#9f4de7",
"rgb": {
"r": 159,
"g": 77,
"b": 231
},
"hsl": {
"h": 271.948,
"s": 76.238,
"l": 60.392
},
"oklch": {
"l": 0.59601,
"c": 0.22398,
"h": 304.9
},
"luminance": 0.18448
}Semantic roles & 50–950 ramp
primary
#9F4DE7
secondary
#C6E5AA
accent
#D80D6C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85