#9E1B84#9E1B84
#9E1B84 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.194 H 338.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B84 |
|---|---|
| RGB | rgb(158, 27, 132) |
| HSL | hsl(312, 71%, 36%) |
| HSV | hsv(312, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 16.5%, 38%) |
| CIE-LAB | lab(37.34, 60.69, -26.66) |
| CIE-LCH | lch(37.34, 66.29, 336.28°) |
| OKLab | oklab(48.57% 0.18 -0.0725) |
| OKLCH | oklch(48.57% 0.194 338.1) |
| XYZ | xyz(18.6578, 9.7208, 22.7190) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Barney Purple
#A00498
ΔE00 4.13
Darkmagenta
#8B008B
ΔE00 5.94
Red Violet
#9E0168
ΔE00 5.95
Light Eggplant
#894585
ΔE00 7.35
Purple
#800080
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B84 #1B9E35
analogous
#771B9E #9E1B84 #9E1B43
triadic
#9E1B84 #849E1B #1B849E
tetradic
#9E1B84 #9E771B #1B9E35 #1B439E
square
#9E1B84 #9E771B #1B9E35 #1B439E
split-complementary
#9E1B84 #439E1B #1B9E77
monochromatic
#35092D #6A1258 #9E1B84 #D224B0 #E152C5
Accessibility & contrast
On white
7.13
#9E1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9E1B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B84
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B84 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A72450
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1b84; /* rgb */ color: rgb(158, 27, 132); /* oklch */ color: oklch(48.6% 0.194 338.1);
Tailwind
colors: {
custom: {
50: '#bf69a8',
500: '#9e1b84',
950: '#000000',
},
}SCSS
$custom: #9e1b84; $custom-light: #bf69a8; $custom-dark: #000000;
JSON
{
"hex": "#9e1b84",
"rgb": {
"r": 158,
"g": 27,
"b": 132
},
"hsl": {
"h": 311.908,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.48569,
"c": 0.19409,
"h": 338.1
},
"luminance": 0.09719
}Semantic roles & 50–950 ramp
primary
#9E1B84
secondary
#51C468
accent
#EE5E3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F