#9E4AB2#9E4AB2
#9E4AB2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.174 H 319.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4AB2 |
|---|---|
| RGB | rgb(158, 74, 178) |
| HSL | hsl(288, 41%, 49%) |
| HSV | hsv(288, 58%, 70%) |
| CMYK | cmyk(11.2%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(46.15, 50.67, -40.46) |
| CIE-LCH | lch(46.15, 64.84, 321.39°) |
| OKLab | oklab(55.73% 0.1321 -0.1127) |
| OKLCH | oklch(55.73% 0.174 319.5) |
| XYZ | xyz(24.5842, 15.3821, 43.7849) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.98
Medium Purple
#9E43A2
ΔE00 3.32
Ugly Purple
#A442A0
ΔE00 4.18
Amethyst
#9B5FC0
ΔE00 5.82
Barney
#AC1DB8
ΔE00 6.14
Deep Lavender
#8D5EB7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4AB2 #5EB24A
analogous
#6A4AB2 #9E4AB2 #B24A92
triadic
#9E4AB2 #B29E4A #4AB29E
tetradic
#9E4AB2 #B26A4A #5EB24A #4A92B2
square
#9E4AB2 #B26A4A #5EB24A #4A92B2
split-complementary
#9E4AB2 #92B24A #4AB26A
monochromatic
#51265C #783887 #9E4AB2 #B674C5 #CC9FD7
Accessibility & contrast
On white
5.15
#9E4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9E4AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4AB2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4AB2 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#9F5A77
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9e4ab2; /* rgb */ color: rgb(158, 74, 178); /* oklch */ color: oklch(55.7% 0.174 319.5);
Tailwind
colors: {
custom: {
50: '#bd81c9',
500: '#9e4ab2',
950: '#000000',
},
}SCSS
$custom: #9e4ab2; $custom-light: #bd81c9; $custom-dark: #000000;
JSON
{
"hex": "#9e4ab2",
"rgb": {
"r": 158,
"g": 74,
"b": 178
},
"hsl": {
"h": 288.462,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.55731,
"c": 0.17366,
"h": 319.5
},
"luminance": 0.15381
}Semantic roles & 50–950 ramp
primary
#9E4AB2
secondary
#9DC494
accent
#D1576E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82