#9E4FC2#9E4FC2
#9E4FC2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.182 H 313.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4FC2 |
|---|---|
| RGB | rgb(158, 79, 194) |
| HSL | hsl(281, 49%, 54%) |
| HSV | hsv(281, 59%, 76%) |
| CMYK | cmyk(18.6%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.95, 51.53, -46.93) |
| CIE-LCH | lch(47.95, 69.69, 317.68°) |
| OKLab | oklab(57.33% 0.1263 -0.1316) |
| OKLCH | oklch(57.33% 0.182 313.8) |
| XYZ | xyz(26.6325, 16.7569, 52.8599) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.03
Purply
#983FB2
ΔE00 4.65
Deep Lavender
#8D5EB7
ΔE00 5.00
Lightish Purple
#A552E6
ΔE00 5.74
Darkorchid
#9932CC
ΔE00 6.05
Mediumorchid
#BA55D3
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4FC2 #73C24F
analogous
#644FC2 #9E4FC2 #C24FAC
triadic
#9E4FC2 #C29E4F #4FC29E
tetradic
#9E4FC2 #C2644F #73C24F #4FACC2
square
#9E4FC2 #C2644F #73C24F #4FACC2
split-complementary
#9E4FC2 #ACC24F #4FC264
monochromatic
#592770 #7D379D #9E4FC2 #B77CD2 #D0AAE2
Accessibility & contrast
On white
4.83
#9E4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9E4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4FC2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4FC2 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6DC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#9B6381
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9e4fc2; /* rgb */ color: rgb(158, 79, 194); /* oklch */ color: oklch(57.3% 0.182 313.8);
Tailwind
colors: {
custom: {
50: '#be84d5',
500: '#9e4fc2',
950: '#000000',
},
}SCSS
$custom: #9e4fc2; $custom-light: #be84d5; $custom-dark: #000000;
JSON
{
"hex": "#9e4fc2",
"rgb": {
"r": 158,
"g": 79,
"b": 194
},
"hsl": {
"h": 281.217,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.57331,
"c": 0.18239,
"h": 313.8
},
"luminance": 0.16756
}Semantic roles & 50–950 ramp
primary
#9E4FC2
secondary
#ADCF9E
accent
#D8507A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83