#9E317D#9E317D
#9E317D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.166 H 342.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9E317D |
|---|---|
| RGB | rgb(158, 49, 125) |
| HSL | hsl(318, 53%, 41%) |
| HSV | hsv(318, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 20.9%, 38%) |
| CIE-LAB | lab(39.49, 52.65, -18.98) |
| CIE-LCH | lch(39.49, 55.97, 340.18°) |
| OKLab | oklab(50.02% 0.1577 -0.0509) |
| OKLCH | oklch(50.02% 0.166 342.1) |
| XYZ | xyz(18.9011, 10.9482, 20.5159) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.72
Light Eggplant
#894585
ΔE00 5.99
Bruise
#7E4071
ΔE00 6.88
Magenta (survey)
#C20078
ΔE00 7.13
Ugly Purple
#A442A0
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E317D #319E52
analogous
#88319E #9E317D #9E3146
triadic
#9E317D #7D9E31 #317D9E
tetradic
#9E317D #9E8831 #319E52 #31469E
square
#9E317D #9E8831 #319E52 #31469E
split-complementary
#9E317D #469E31 #319E88
monochromatic
#411433 #6F2358 #9E317D #C6469F #D475B7
Accessibility & contrast
On white
6.58
#9E317D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#9E317D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E317D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E317D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E317D | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#5B647A
Tritanopia (blue-blind)
#A83252
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9e317d; /* rgb */ color: rgb(158, 49, 125); /* oklch */ color: oklch(50.0% 0.166 342.1);
Tailwind
colors: {
custom: {
50: '#be72a2',
500: '#9e317d',
950: '#000000',
},
}SCSS
$custom: #9e317d; $custom-light: #be72a2; $custom-dark: #000000;
JSON
{
"hex": "#9e317d",
"rgb": {
"r": 158,
"g": 49,
"b": 125
},
"hsl": {
"h": 318.165,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.50023,
"c": 0.16569,
"h": 342.1
},
"luminance": 0.10946
}Semantic roles & 50–950 ramp
primary
#9E317D
secondary
#6EBC86
accent
#DC774C
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F