#9E217E#9E217E
#9E217E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 340.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E217E |
|---|---|
| RGB | rgb(158, 33, 126) |
| HSL | hsl(315, 65%, 37%) |
| HSV | hsv(315, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 20.3%, 38%) |
| CIE-LAB | lab(37.60, 58.27, -22.53) |
| CIE-LCH | lch(37.60, 62.47, 338.86°) |
| OKLab | oklab(48.66% 0.1745 -0.0608) |
| OKLCH | oklch(48.66% 0.185 340.8) |
| XYZ | xyz(18.4109, 9.8651, 20.6692) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.51
Red Violet
#9E0168
ΔE00 4.85
Barney Purple
#A00498
ΔE00 5.68
Light Eggplant
#894585
ΔE00 7.13
Darkmagenta
#8B008B
ΔE00 7.26
Magenta (survey)
#C20078
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E217E #219E41
analogous
#80219E #9E217E #9E2140
triadic
#9E217E #7E9E21 #217E9E
tetradic
#9E217E #9E8021 #219E41 #21409E
square
#9E217E #9E8021 #219E41 #21409E
split-complementary
#9E217E #409E21 #219E80
monochromatic
#390C2D #6B1656 #9E217E #D12CA6 #DD5CBC
Accessibility & contrast
On white
7.06
#9E217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E217E
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E217E | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A8254E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e217e; /* rgb */ color: rgb(158, 33, 126); /* oklch */ color: oklch(48.7% 0.185 340.8);
Tailwind
colors: {
custom: {
50: '#bf6ba3',
500: '#9e217e',
950: '#000000',
},
}SCSS
$custom: #9e217e; $custom-light: #bf6ba3; $custom-dark: #000000;
JSON
{
"hex": "#9e217e",
"rgb": {
"r": 158,
"g": 33,
"b": 126
},
"hsl": {
"h": 315.36,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.48663,
"c": 0.18482,
"h": 340.8
},
"luminance": 0.09863
}Semantic roles & 50–950 ramp
primary
#9E217E
secondary
#59C174
accent
#E86B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F