#9E4BB2#9E4BB2
#9E4BB2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.172 H 319.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4BB2 |
|---|---|
| RGB | rgb(158, 75, 178) |
| HSL | hsl(288, 41%, 50%) |
| HSV | hsv(288, 58%, 70%) |
| CMYK | cmyk(11.2%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(46.33, 50.18, -40.17) |
| CIE-LCH | lch(46.33, 64.28, 321.32°) |
| OKLab | oklab(55.86% 0.1308 -0.1118) |
| OKLCH | oklch(55.86% 0.172 319.5) |
| XYZ | xyz(24.6515, 15.5167, 43.8073) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.19
Medium Purple
#9E43A2
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 4.24
Amethyst
#9B5FC0
ΔE00 5.63
Deep Lavender
#8D5EB7
ΔE00 5.99
Barney
#AC1DB8
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4BB2 #5FB24B
analogous
#6B4BB2 #9E4BB2 #B24B92
triadic
#9E4BB2 #B29E4B #4BB29E
tetradic
#9E4BB2 #B26B4B #5FB24B #4B92B2
square
#9E4BB2 #B26B4B #5FB24B #4B92B2
split-complementary
#9E4BB2 #92B24B #4BB26B
monochromatic
#52275C #783987 #9E4BB2 #B575C5 #CCA0D7
Accessibility & contrast
On white
5.12
#9E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9E4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4BB2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4BB2 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#9E5B77
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9e4bb2; /* rgb */ color: rgb(158, 75, 178); /* oklch */ color: oklch(55.9% 0.172 319.5);
Tailwind
colors: {
custom: {
50: '#bd82c9',
500: '#9e4bb2',
950: '#000000',
},
}SCSS
$custom: #9e4bb2; $custom-light: #bd82c9; $custom-dark: #000000;
JSON
{
"hex": "#9e4bb2",
"rgb": {
"r": 158,
"g": 75,
"b": 178
},
"hsl": {
"h": 288.35,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.55863,
"c": 0.17212,
"h": 319.5
},
"luminance": 0.15516
}Semantic roles & 50–950 ramp
primary
#9E4BB2
secondary
#9EC495
accent
#D1576F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82