#9F2D8F#9F2D8F
#9F2D8F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.184 H 334.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D8F |
|---|---|
| RGB | rgb(159, 45, 143) |
| HSL | hsl(308, 56%, 40%) |
| HSV | hsv(308, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 10.1%, 37.6%) |
| CIE-LAB | lab(39.97, 57.11, -29.28) |
| CIE-LCH | lch(39.97, 64.18, 332.85°) |
| OKLab | oklab(50.68% 0.1658 -0.0801) |
| OKLCH | oklch(50.68% 0.184 334.2) |
| XYZ | xyz(20.1946, 11.2326, 27.0858) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.12
Barney Purple
#A00498
ΔE00 4.12
Ugly Purple
#A442A0
ΔE00 4.82
Medium Purple
#9E43A2
ΔE00 5.10
Light Eggplant
#894585
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D8F #2D9F3D
analogous
#762D9F #9F2D8F #9F2D56
triadic
#9F2D8F #8F9F2D #2D8F9F
tetradic
#9F2D8F #9F762D #2D9F3D #2D569F
square
#9F2D8F #9F762D #2D9F3D #2D569F
split-complementary
#9F2D8F #569F2D #2D9F76
monochromatic
#401239 #6F2064 #9F2D8F #C940B6 #D670C8
Accessibility & contrast
On white
6.47
#9F2D8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#9F2D8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2D8F
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D8F | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A7375A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f2d8f; /* rgb */ color: rgb(159, 45, 143); /* oklch */ color: oklch(50.7% 0.184 334.2);
Tailwind
colors: {
custom: {
50: '#bf71b0',
500: '#9f2d8f',
950: '#000000',
},
}SCSS
$custom: #9f2d8f; $custom-light: #bf71b0; $custom-dark: #000000;
JSON
{
"hex": "#9f2d8f",
"rgb": {
"r": 159,
"g": 45,
"b": 143
},
"hsl": {
"h": 308.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.50676,
"c": 0.18413,
"h": 334.2
},
"luminance": 0.11231
}Semantic roles & 50–950 ramp
primary
#9F2D8F
secondary
#6ABE76
accent
#DF5E49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F