#9E1B83#9E1B83
#9E1B83 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 338.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B83 |
|---|---|
| RGB | rgb(158, 27, 131) |
| HSL | hsl(312, 71%, 36%) |
| HSV | hsv(312, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 17.1%, 38%) |
| CIE-LAB | lab(37.29, 60.55, -26.12) |
| CIE-LCH | lch(37.29, 65.94, 336.66°) |
| OKLab | oklab(48.52% 0.18 -0.0709) |
| OKLCH | oklch(48.52% 0.193 338.5) |
| XYZ | xyz(18.5897, 9.6935, 22.3603) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 4.33
Red Violet
#9E0168
ΔE00 5.75
Darkmagenta
#8B008B
ΔE00 6.07
Light Eggplant
#894585
ΔE00 7.37
Purple
#800080
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B83 #1B9E36
analogous
#781B9E #9E1B83 #9E1B42
triadic
#9E1B83 #839E1B #1B839E
tetradic
#9E1B83 #9E781B #1B9E36 #1B429E
square
#9E1B83 #9E781B #1B9E36 #1B429E
split-complementary
#9E1B83 #429E1B #1B9E78
monochromatic
#35092C #6A1258 #9E1B83 #D224AE #E152C4
Accessibility & contrast
On white
7.15
#9E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9E1B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B83
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B83 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#A7234F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1b83; /* rgb */ color: rgb(158, 27, 131); /* oklch */ color: oklch(48.5% 0.193 338.5);
Tailwind
colors: {
custom: {
50: '#bf69a7',
500: '#9e1b83',
950: '#000000',
},
}SCSS
$custom: #9e1b83; $custom-light: #bf69a7; $custom-dark: #000000;
JSON
{
"hex": "#9e1b83",
"rgb": {
"r": 158,
"g": 27,
"b": 131
},
"hsl": {
"h": 312.366,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.48517,
"c": 0.19343,
"h": 338.5
},
"luminance": 0.09692
}Semantic roles & 50–950 ramp
primary
#9E1B83
secondary
#51C468
accent
#EE5F3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F