#9F317D#9F317D
#9F317D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.166 H 342.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9F317D |
|---|---|
| RGB | rgb(159, 49, 125) |
| HSL | hsl(319, 53%, 41%) |
| HSV | hsv(319, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 21.4%, 37.6%) |
| CIE-LAB | lab(39.66, 52.92, -18.70) |
| CIE-LCH | lch(39.66, 56.13, 340.54°) |
| OKLab | oklab(50.18% 0.1587 -0.0501) |
| OKLCH | oklch(50.18% 0.166 342.5) |
| XYZ | xyz(19.0987, 11.0501, 20.5251) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.54
Red Violet
#9E0168
ΔE00 5.72
Light Eggplant
#894585
ΔE00 6.13
Magenta (survey)
#C20078
ΔE00 6.93
Bruise
#7E4071
ΔE00 7.03
Mediumvioletred
#C71585
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F317D #319F53
analogous
#8A319F #9F317D #9F3146
triadic
#9F317D #7D9F31 #317D9F
tetradic
#9F317D #9F8A31 #319F53 #31469F
square
#9F317D #9F8A31 #319F53 #31469F
split-complementary
#9F317D #469F31 #319F8A
monochromatic
#411433 #702358 #9F317D #C6479F #D576B7
Accessibility & contrast
On white
6.54
#9F317D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9F317D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F317D
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F317D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F317D | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A93252
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f317d; /* rgb */ color: rgb(159, 49, 125); /* oklch */ color: oklch(50.2% 0.166 342.5);
Tailwind
colors: {
custom: {
50: '#bf72a2',
500: '#9f317d',
950: '#000000',
},
}SCSS
$custom: #9f317d; $custom-light: #bf72a2; $custom-dark: #000000;
JSON
{
"hex": "#9f317d",
"rgb": {
"r": 159,
"g": 49,
"b": 125
},
"hsl": {
"h": 318.545,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.50181,
"c": 0.16641,
"h": 342.5
},
"luminance": 0.11048
}Semantic roles & 50–950 ramp
primary
#9F317D
secondary
#6FBD87
accent
#DC784C
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F