#9E317E#9E317E
#9E317E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.166 H 341.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9E317E |
|---|---|
| RGB | rgb(158, 49, 126) |
| HSL | hsl(318, 53%, 41%) |
| HSV | hsv(318, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 20.3%, 38%) |
| CIE-LAB | lab(39.54, 52.79, -19.53) |
| CIE-LCH | lch(39.54, 56.29, 339.70°) |
| OKLab | oklab(50.07% 0.1579 -0.0524) |
| OKLCH | oklch(50.07% 0.166 341.6) |
| XYZ | xyz(18.9653, 10.9739, 20.8540) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.15
Red Violet
#9E0168
ΔE00 5.85
Light Eggplant
#894585
ΔE00 5.88
Bruise
#7E4071
ΔE00 6.90
Ugly Purple
#A442A0
ΔE00 7.12
Magenta (survey)
#C20078
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E317E #319E51
analogous
#87319E #9E317E #9E3147
triadic
#9E317E #7E9E31 #317E9E
tetradic
#9E317E #9E8731 #319E51 #31479E
square
#9E317E #9E8731 #319E51 #31479E
split-complementary
#9E317E #479E31 #319E87
monochromatic
#411433 #6F2359 #9E317E #C646A0 #D475B8
Accessibility & contrast
On white
6.57
#9E317E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#9E317E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E317E
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E317E | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A83353
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9e317e; /* rgb */ color: rgb(158, 49, 126); /* oklch */ color: oklch(50.1% 0.166 341.6);
Tailwind
colors: {
custom: {
50: '#be72a3',
500: '#9e317e',
950: '#000000',
},
}SCSS
$custom: #9e317e; $custom-light: #be72a3; $custom-dark: #000000;
JSON
{
"hex": "#9e317e",
"rgb": {
"r": 158,
"g": 49,
"b": 126
},
"hsl": {
"h": 317.615,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.50069,
"c": 0.16636,
"h": 341.6
},
"luminance": 0.10972
}Semantic roles & 50–950 ramp
primary
#9E317E
secondary
#6EBC85
accent
#DC764C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F