#9E1D83#9E1D83
#9E1D83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 338.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D83 |
|---|---|
| RGB | rgb(158, 29, 131) |
| HSL | hsl(313, 69%, 37%) |
| HSV | hsv(313, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 17.1%, 38%) |
| CIE-LAB | lab(37.46, 60.05, -25.85) |
| CIE-LCH | lch(37.46, 65.38, 336.71°) |
| OKLab | oklab(48.64% 0.1784 -0.0702) |
| OKLCH | oklch(48.64% 0.192 338.5) |
| XYZ | xyz(18.6371, 9.7884, 22.3762) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.63
Barney Purple
#A00498
ΔE00 4.43
Red Violet
#9E0168
ΔE00 5.76
Darkmagenta
#8B008B
ΔE00 6.22
Light Eggplant
#894585
ΔE00 7.22
Purple
#800080
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D83 #1D9E38
analogous
#791D9E #9E1D83 #9E1D43
triadic
#9E1D83 #839E1D #1D839E
tetradic
#9E1D83 #9E791D #1D9E38 #1D439E
square
#9E1D83 #9E791D #1D9E38 #1D439E
split-complementary
#9E1D83 #439E1D #1D9E79
monochromatic
#370A2D #6A1458 #9E1D83 #D226AE #E056C3
Accessibility & contrast
On white
7.10
#9E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9E1D83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D83
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D83 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A7254F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1d83; /* rgb */ color: rgb(158, 29, 131); /* oklch */ color: oklch(48.6% 0.192 338.5);
Tailwind
colors: {
custom: {
50: '#bf6aa7',
500: '#9e1d83',
950: '#000000',
},
}SCSS
$custom: #9e1d83; $custom-light: #bf6aa7; $custom-dark: #000000;
JSON
{
"hex": "#9e1d83",
"rgb": {
"r": 158,
"g": 29,
"b": 131
},
"hsl": {
"h": 312.558,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.48641,
"c": 0.19174,
"h": 338.5
},
"luminance": 0.09787
}Semantic roles & 50–950 ramp
primary
#9E1D83
secondary
#54C36B
accent
#EC613C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F