#9F317F#9F317F
#9F317F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.168 H 341.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9F317F |
|---|---|
| RGB | rgb(159, 49, 127) |
| HSL | hsl(317, 53%, 41%) |
| HSV | hsv(317, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 20.1%, 37.6%) |
| CIE-LAB | lab(39.75, 53.21, -19.81) |
| CIE-LCH | lch(39.75, 56.78, 339.58°) |
| OKLab | oklab(50.27% 0.1591 -0.0532) |
| OKLCH | oklch(50.27% 0.168 341.5) |
| XYZ | xyz(19.2277, 11.1017, 21.2048) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.11
Light Eggplant
#894585
ΔE00 5.92
Red Violet
#9E0168
ΔE00 5.98
Ugly Purple
#A442A0
ΔE00 6.95
Bruise
#7E4071
ΔE00 7.08
Magenta (survey)
#C20078
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F317F #319F51
analogous
#88319F #9F317F #9F3148
triadic
#9F317F #7F9F31 #317F9F
tetradic
#9F317F #9F8831 #319F51 #31489F
square
#9F317F #9F8831 #319F51 #31489F
split-complementary
#9F317F #489F31 #319F88
monochromatic
#411434 #70235A #9F317F #C647A1 #D576B9
Accessibility & contrast
On white
6.52
#9F317F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#9F317F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F317F
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F317F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F317F | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#A93353
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f317f; /* rgb */ color: rgb(159, 49, 127); /* oklch */ color: oklch(50.3% 0.168 341.5);
Tailwind
colors: {
custom: {
50: '#bf72a4',
500: '#9f317f',
950: '#000000',
},
}SCSS
$custom: #9f317f; $custom-light: #bf72a4; $custom-dark: #000000;
JSON
{
"hex": "#9f317f",
"rgb": {
"r": 159,
"g": 49,
"b": 127
},
"hsl": {
"h": 317.455,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.50273,
"c": 0.16773,
"h": 341.5
},
"luminance": 0.111
}Semantic roles & 50–950 ramp
primary
#9F317F
secondary
#6FBD86
accent
#DC764C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F