#9F4DE2#9F4DE2
#9F4DE2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.219 H 306.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4DE2 |
|---|---|
| RGB | rgb(159, 77, 226) |
| HSL | hsl(273, 72%, 59%) |
| HSV | hsv(273, 66%, 89%) |
| CMYK | cmyk(29.6%, 65.9%, 0%, 11.4%) |
| CIE-LAB | lab(49.70, 59.78, -62.43) |
| CIE-LCH | lch(49.70, 86.43, 313.76°) |
| OKLab | oklab(59.26% 0.1287 -0.177) |
| OKLCH | oklch(59.26% 0.219 306) |
| XYZ | xyz(30.6764, 18.1699, 73.8278) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.86
Lighter Purple
#A55AF4
ΔE00 4.39
Purpley
#8756E4
ΔE00 4.56
Electric Purple
#AA23FF
ΔE00 5.50
Neon Purple
#BC13FE
ΔE00 6.21
Bright Violet
#AD0AFD
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4DE2 #90E24D
analogous
#554DE2 #9F4DE2 #E24DDB
triadic
#9F4DE2 #E29F4D #4DE29F
tetradic
#9F4DE2 #E2554D #90E24D #4DDBE2
square
#9F4DE2 #E2554D #90E24D #4DDBE2
split-complementary
#9F4DE2 #DBE24D #4DE255
monochromatic
#61199B #8222D0 #9F4DE2 #BB82EB #D8B6F3
Accessibility & contrast
On white
4.53
#9F4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9F4DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4DE2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4DE2 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#936D91
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9f4de2; /* rgb */ color: rgb(159, 77, 226); /* oklch */ color: oklch(59.3% 0.219 306.0);
Tailwind
colors: {
custom: {
50: '#c084ec',
500: '#9f4de2',
950: '#000000',
},
}SCSS
$custom: #9f4de2; $custom-light: #c084ec; $custom-dark: #000000;
JSON
{
"hex": "#9f4de2",
"rgb": {
"r": 159,
"g": 77,
"b": 226
},
"hsl": {
"h": 273.02,
"s": 71.981,
"l": 59.412
},
"oklch": {
"l": 0.59256,
"c": 0.21881,
"h": 306
},
"luminance": 0.1817
}Semantic roles & 50–950 ramp
primary
#9F4DE2
secondary
#C2E2A8
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84