#9E1B82#9E1B82
#9E1B82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 338.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B82 |
|---|---|
| RGB | rgb(158, 27, 130) |
| HSL | hsl(313, 71%, 36%) |
| HSV | hsv(313, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 17.7%, 38%) |
| CIE-LAB | lab(37.24, 60.41, -25.58) |
| CIE-LCH | lch(37.24, 65.60, 337.05°) |
| OKLab | oklab(48.47% 0.1799 -0.0694) |
| OKLCH | oklch(48.47% 0.193 338.9) |
| XYZ | xyz(18.5223, 9.6666, 22.0051) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.84
Barney Purple
#A00498
ΔE00 4.53
Red Violet
#9E0168
ΔE00 5.55
Darkmagenta
#8B008B
ΔE00 6.20
Light Eggplant
#894585
ΔE00 7.40
Purple
#800080
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B82 #1B9E37
analogous
#791B9E #9E1B82 #9E1B41
triadic
#9E1B82 #829E1B #1B829E
tetradic
#9E1B82 #9E791B #1B9E37 #1B419E
square
#9E1B82 #9E791B #1B9E37 #1B419E
split-complementary
#9E1B82 #419E1B #1B9E79
monochromatic
#35092C #6A1257 #9E1B82 #D224AD #E152C3
Accessibility & contrast
On white
7.16
#9E1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B82
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B82 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7224E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1b82; /* rgb */ color: rgb(158, 27, 130); /* oklch */ color: oklch(48.5% 0.193 338.9);
Tailwind
colors: {
custom: {
50: '#bf69a6',
500: '#9e1b82',
950: '#000000',
},
}SCSS
$custom: #9e1b82; $custom-light: #bf69a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1b82",
"rgb": {
"r": 158,
"g": 27,
"b": 130
},
"hsl": {
"h": 312.824,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.48465,
"c": 0.19278,
"h": 338.9
},
"luminance": 0.09665
}Semantic roles & 50–950 ramp
primary
#9E1B82
secondary
#51C469
accent
#EE613A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F