#9E1D9E#9E1D9E
#9E1D9E is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.211 H 328.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D9E |
|---|---|
| RGB | rgb(158, 29, 158) |
| HSL | hsl(300, 69%, 37%) |
| HSV | hsv(300, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 0%, 38%) |
| CIE-LAB | lab(38.93, 64.11, -40.04) |
| CIE-LCH | lch(38.93, 75.59, 328.01°) |
| OKLab | oklab(50.17% 0.179 -0.1111) |
| OKLCH | oklch(50.17% 0.211 328.2) |
| XYZ | xyz(20.7112, 10.6180, 33.2998) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.81
Warm Purple
#952E8F
ΔE00 3.23
Barney
#AC1DB8
ΔE00 4.52
Darkmagenta
#8B008B
ΔE00 5.28
Medium Purple
#9E43A2
ΔE00 5.87
Purply
#983FB2
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D9E #1D9E1D
analogous
#5E1D9E #9E1D9E #9E1D5E
triadic
#9E1D9E #9E9E1D #1D9E9E
tetradic
#9E1D9E #9E5E1D #1D9E1D #1D5E9E
square
#9E1D9E #9E5E1D #1D9E1D #1D5E9E
split-complementary
#9E1D9E #5E9E1D #1D9E5E
monochromatic
#370A37 #6A146A #9E1D9E #D226D2 #E056E0
Accessibility & contrast
On white
6.72
#9E1D9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E1D9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E1D9E
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D9E | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#A3355F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e1d9e; /* rgb */ color: rgb(158, 29, 158); /* oklch */ color: oklch(50.2% 0.211 328.2);
Tailwind
colors: {
custom: {
50: '#bf6bbb',
500: '#9e1d9e',
950: '#000000',
},
}SCSS
$custom: #9e1d9e; $custom-light: #bf6bbb; $custom-dark: #000000;
JSON
{
"hex": "#9e1d9e",
"rgb": {
"r": 158,
"g": 29,
"b": 158
},
"hsl": {
"h": 300,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.50165,
"c": 0.21072,
"h": 328.2
},
"luminance": 0.10616
}Semantic roles & 50–950 ramp
primary
#9E1D9E
secondary
#54C354
accent
#EC3C3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81