#9E1782#9E1782
#9E1782 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.196 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1782 |
|---|---|
| RGB | rgb(158, 23, 130) |
| HSL | hsl(312, 75%, 35%) |
| HSV | hsv(312, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 17.7%, 38%) |
| CIE-LAB | lab(36.92, 61.33, -26.07) |
| CIE-LCH | lch(36.92, 66.64, 336.97°) |
| OKLab | oklab(48.24% 0.1826 -0.0708) |
| OKLCH | oklch(48.24% 0.196 338.8) |
| XYZ | xyz(18.4367, 9.4955, 21.9766) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.95
Barney Purple
#A00498
ΔE00 4.37
Red Violet
#9E0168
ΔE00 5.54
Darkmagenta
#8B008B
ΔE00 5.94
Purple
#800080
ΔE00 7.28
Light Eggplant
#894585
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1782 #179E33
analogous
#76179E #9E1782 #9E173F
triadic
#9E1782 #829E17 #17829E
tetradic
#9E1782 #9E7617 #179E33 #173F9E
square
#9E1782 #9E7617 #179E33 #173F9E
split-complementary
#9E1782 #3F9E17 #179E76
monochromatic
#33072A #690F56 #9E1782 #D31FAE #E54BC5
Accessibility & contrast
On white
7.24
#9E1782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9E1782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1782
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1782 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A7204E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1782; /* rgb */ color: rgb(158, 23, 130); /* oklch */ color: oklch(48.2% 0.196 338.8);
Tailwind
colors: {
custom: {
50: '#bf68a6',
500: '#9e1782',
950: '#000000',
},
}SCSS
$custom: #9e1782; $custom-light: #bf68a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1782",
"rgb": {
"r": 158,
"g": 23,
"b": 130
},
"hsl": {
"h": 312.444,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.48239,
"c": 0.19587,
"h": 338.8
},
"luminance": 0.09494
}Semantic roles & 50–950 ramp
primary
#9E1782
secondary
#4AC664
accent
#F15D37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F