#9F317E#9F317E
#9F317E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.167 H 342.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9F317E |
|---|---|
| RGB | rgb(159, 49, 126) |
| HSL | hsl(318, 53%, 41%) |
| HSV | hsv(318, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 20.8%, 37.6%) |
| CIE-LAB | lab(39.71, 53.07, -19.25) |
| CIE-LCH | lch(39.71, 56.45, 340.06°) |
| OKLab | oklab(50.23% 0.1589 -0.0516) |
| OKLCH | oklch(50.23% 0.167 342) |
| XYZ | xyz(19.1629, 11.0758, 20.8632) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.32
Red Violet
#9E0168
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.02
Magenta (survey)
#C20078
ΔE00 7.04
Bruise
#7E4071
ΔE00 7.05
Ugly Purple
#A442A0
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F317E #319F52
analogous
#89319F #9F317E #9F3147
triadic
#9F317E #7E9F31 #317E9F
tetradic
#9F317E #9F8931 #319F52 #31479F
square
#9F317E #9F8931 #319F52 #31479F
split-complementary
#9F317E #479F31 #319F89
monochromatic
#411434 #702359 #9F317E #C647A0 #D576B8
Accessibility & contrast
On white
6.53
#9F317E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9F317E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F317E
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F317E | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#A93253
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f317e; /* rgb */ color: rgb(159, 49, 126); /* oklch */ color: oklch(50.2% 0.167 342.0);
Tailwind
colors: {
custom: {
50: '#bf72a3',
500: '#9f317e',
950: '#000000',
},
}SCSS
$custom: #9f317e; $custom-light: #bf72a3; $custom-dark: #000000;
JSON
{
"hex": "#9f317e",
"rgb": {
"r": 159,
"g": 49,
"b": 126
},
"hsl": {
"h": 318,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.50227,
"c": 0.16707,
"h": 342
},
"luminance": 0.11074
}Semantic roles & 50–950 ramp
primary
#9F317E
secondary
#6FBD86
accent
#DC774C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F