#9E1D9C#9E1D9C
#9E1D9C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 328.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D9C |
|---|---|
| RGB | rgb(158, 29, 156) |
| HSL | hsl(301, 69%, 37%) |
| HSV | hsv(301, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 1.3%, 38%) |
| CIE-LAB | lab(38.81, 63.79, -39.02) |
| CIE-LCH | lch(38.81, 74.78, 328.55°) |
| OKLab | oklab(50.04% 0.1791 -0.1082) |
| OKLCH | oklch(50.04% 0.209 328.9) |
| XYZ | xyz(20.5405, 10.5497, 32.4005) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.61
Warm Purple
#952E8F
ΔE00 2.97
Barney
#AC1DB8
ΔE00 4.80
Darkmagenta
#8B008B
ΔE00 5.17
Medium Purple
#9E43A2
ΔE00 5.90
Ugly Purple
#A442A0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D9C #1D9E1F
analogous
#601D9E #9E1D9C #9E1D5C
triadic
#9E1D9C #9C9E1D #1D9C9E
tetradic
#9E1D9C #9E601D #1D9E1F #1D5C9E
square
#9E1D9C #9E601D #1D9E1F #1D5C9E
split-complementary
#9E1D9C #5C9E1D #1D9E60
monochromatic
#370A36 #6A1469 #9E1D9C #D226CF #E056DE
Accessibility & contrast
On white
6.75
#9E1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9E1D9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1D9C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D9C | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A4335E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e1d9c; /* rgb */ color: rgb(158, 29, 156); /* oklch */ color: oklch(50.0% 0.209 328.9);
Tailwind
colors: {
custom: {
50: '#bf6bba',
500: '#9e1d9c',
950: '#000000',
},
}SCSS
$custom: #9e1d9c; $custom-light: #bf6bba; $custom-dark: #000000;
JSON
{
"hex": "#9e1d9c",
"rgb": {
"r": 158,
"g": 29,
"b": 156
},
"hsl": {
"h": 300.93,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.50043,
"c": 0.20925,
"h": 328.9
},
"luminance": 0.10548
}Semantic roles & 50–950 ramp
primary
#9E1D9C
secondary
#54C355
accent
#EC3F3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80