#9F2D90#9F2D90
#9F2D90 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.185 H 333.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D90 |
|---|---|
| RGB | rgb(159, 45, 144) |
| HSL | hsl(308, 56%, 40%) |
| HSV | hsv(308, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 9.4%, 37.6%) |
| CIE-LAB | lab(40.02, 57.27, -29.81) |
| CIE-LCH | lch(40.02, 64.56, 332.50°) |
| OKLab | oklab(50.73% 0.1659 -0.0816) |
| OKLCH | oklch(50.73% 0.185 333.8) |
| XYZ | xyz(20.2707, 11.2630, 27.4865) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.04
Barney Purple
#A00498
ΔE00 4.01
Ugly Purple
#A442A0
ΔE00 4.73
Medium Purple
#9E43A2
ΔE00 4.97
Light Eggplant
#894585
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D90 #2D9F3C
analogous
#752D9F #9F2D90 #9F2D57
triadic
#9F2D90 #909F2D #2D909F
tetradic
#9F2D90 #9F752D #2D9F3C #2D579F
square
#9F2D90 #9F752D #2D9F3C #2D579F
split-complementary
#9F2D90 #579F2D #2D9F75
monochromatic
#40123A #6F2065 #9F2D90 #C940B7 #D670C9
Accessibility & contrast
On white
6.46
#9F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#9F2D90 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2D90
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D90 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A6375B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f2d90; /* rgb */ color: rgb(159, 45, 144); /* oklch */ color: oklch(50.7% 0.185 333.8);
Tailwind
colors: {
custom: {
50: '#bf71b1',
500: '#9f2d90',
950: '#000000',
},
}SCSS
$custom: #9f2d90; $custom-light: #bf71b1; $custom-dark: #000000;
JSON
{
"hex": "#9f2d90",
"rgb": {
"r": 159,
"g": 45,
"b": 144
},
"hsl": {
"h": 307.895,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.50729,
"c": 0.18487,
"h": 333.8
},
"luminance": 0.11261
}Semantic roles & 50–950 ramp
primary
#9F2D90
secondary
#6ABE75
accent
#DF5C49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F