#9F4EA2#9F4EA2
#9F4EA2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.5% C 0.152 H 326.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4EA2 |
|---|---|
| RGB | rgb(159, 78, 162) |
| HSL | hsl(298, 35%, 47%) |
| HSV | hsv(298, 52%, 64%) |
| CMYK | cmyk(1.9%, 51.9%, 0%, 36.5%) |
| CIE-LAB | lab(46.22, 45.84, -30.91) |
| CIE-LCH | lch(46.22, 55.29, 326.00°) |
| OKLab | oklab(55.54% 0.1263 -0.0851) |
| OKLCH | oklch(55.54% 0.152 326) |
| XYZ | xyz(23.5436, 15.4296, 35.9135) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.61
Medium Purple
#9E43A2
ΔE00 2.64
Purpleish
#98568D
ΔE00 5.50
Purply
#983FB2
ΔE00 5.66
Purplish
#94568C
ΔE00 5.66
Light Eggplant
#894585
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4EA2 #51A24E
analogous
#754EA2 #9F4EA2 #A24E7B
triadic
#9F4EA2 #A29F4E #4EA29F
tetradic
#9F4EA2 #A2754E #51A24E #4E7BA2
square
#9F4EA2 #A2754E #51A24E #4E7BA2
split-complementary
#9F4EA2 #7BA24E #4EA275
monochromatic
#4E264F #763A79 #9F4EA2 #B972BB #CD9BCF
Accessibility & contrast
On white
5.14
#9F4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9F4EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4EA2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4EA2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#A35871
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9f4ea2; /* rgb */ color: rgb(159, 78, 162); /* oklch */ color: oklch(55.5% 0.152 326.0);
Tailwind
colors: {
custom: {
50: '#bd83be',
500: '#9f4ea2',
950: '#000000',
},
}SCSS
$custom: #9f4ea2; $custom-light: #bd83be; $custom-dark: #000000;
JSON
{
"hex": "#9f4ea2",
"rgb": {
"r": 159,
"g": 78,
"b": 162
},
"hsl": {
"h": 297.857,
"s": 35,
"l": 47.059
},
"oklch": {
"l": 0.55541,
"c": 0.15225,
"h": 326
},
"luminance": 0.15428
}Semantic roles & 50–950 ramp
primary
#9F4EA2
secondary
#92BC90
accent
#CB5D61
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81