#9E1D8F#9E1D8F
#9E1D8F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 333.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D8F |
|---|---|
| RGB | rgb(158, 29, 143) |
| HSL | hsl(307, 69%, 37%) |
| HSV | hsv(307, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 9.5%, 38%) |
| CIE-LAB | lab(38.08, 61.78, -32.27) |
| CIE-LCH | lch(38.08, 69.70, 332.42°) |
| OKLab | oklab(49.29% 0.1792 -0.0886) |
| OKLCH | oklch(49.29% 0.2 333.7) |
| XYZ | xyz(19.4980, 10.1327, 26.9102) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.23
Barney Purple
#A00498
ΔE00 2.26
Darkmagenta
#8B008B
ΔE00 5.12
Ugly Purple
#A442A0
ΔE00 6.56
Medium Purple
#9E43A2
ΔE00 6.61
Barney
#AC1DB8
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D8F #1D9E2C
analogous
#6D1D9E #9E1D8F #9E1D4F
triadic
#9E1D8F #8F9E1D #1D8F9E
tetradic
#9E1D8F #9E6D1D #1D9E2C #1D4F9E
square
#9E1D8F #9E6D1D #1D9E2C #1D4F9E
split-complementary
#9E1D8F #4F9E1D #1D9E6D
monochromatic
#370A31 #6A1460 #9E1D8F #D226BE #E056D0
Accessibility & contrast
On white
6.94
#9E1D8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#9E1D8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1D8F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D8F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A62C56
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9e1d8f; /* rgb */ color: rgb(158, 29, 143); /* oklch */ color: oklch(49.3% 0.200 333.7);
Tailwind
colors: {
custom: {
50: '#bf6ab0',
500: '#9e1d8f',
950: '#000000',
},
}SCSS
$custom: #9e1d8f; $custom-light: #bf6ab0; $custom-dark: #000000;
JSON
{
"hex": "#9e1d8f",
"rgb": {
"r": 158,
"g": 29,
"b": 143
},
"hsl": {
"h": 306.977,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.49286,
"c": 0.19991,
"h": 333.7
},
"luminance": 0.10131
}Semantic roles & 50–950 ramp
primary
#9E1D8F
secondary
#54C361
accent
#EC503C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F