#9E217F#9E217F
#9E217F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 340.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9E217F |
|---|---|
| RGB | rgb(158, 33, 127) |
| HSL | hsl(315, 65%, 37%) |
| HSV | hsv(315, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 19.6%, 38%) |
| CIE-LAB | lab(37.65, 58.41, -23.08) |
| CIE-LCH | lch(37.65, 62.80, 338.44°) |
| OKLab | oklab(48.71% 0.1747 -0.0623) |
| OKLCH | oklch(48.71% 0.185 340.4) |
| XYZ | xyz(18.4757, 9.8910, 21.0107) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Red Violet
#9E0168
ΔE00 5.05
Barney Purple
#A00498
ΔE00 5.48
Light Eggplant
#894585
ΔE00 7.07
Darkmagenta
#8B008B
ΔE00 7.11
Magenta (survey)
#C20078
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E217F #219E40
analogous
#7F219E #9E217F #9E2141
triadic
#9E217F #7F9E21 #217F9E
tetradic
#9E217F #9E7F21 #219E40 #21419E
square
#9E217F #9E7F21 #219E40 #21419E
split-complementary
#9E217F #419E21 #219E7F
monochromatic
#390C2E #6B1656 #9E217F #D12CA8 #DD5CBD
Accessibility & contrast
On white
7.05
#9E217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9E217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E217F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E217F | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A8254E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e217f; /* rgb */ color: rgb(158, 33, 127); /* oklch */ color: oklch(48.7% 0.185 340.4);
Tailwind
colors: {
custom: {
50: '#bf6ba4',
500: '#9e217f',
950: '#000000',
},
}SCSS
$custom: #9e217f; $custom-light: #bf6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9e217f",
"rgb": {
"r": 158,
"g": 33,
"b": 127
},
"hsl": {
"h": 314.88,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.48712,
"c": 0.18546,
"h": 340.4
},
"luminance": 0.09889
}Semantic roles & 50–950 ramp
primary
#9E217F
secondary
#59C173
accent
#E8693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F