#9F2BAD#9F2BAD
#9F2BAD is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 323.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2BAD |
|---|---|
| RGB | rgb(159, 43, 173) |
| HSL | hsl(294, 60%, 42%) |
| HSV | hsv(294, 75%, 68%) |
| CMYK | cmyk(8.1%, 75.1%, 0%, 32.2%) |
| CIE-LAB | lab(41.40, 62.81, -45.07) |
| CIE-LCH | lch(41.40, 77.31, 324.34°) |
| OKLab | oklab(52.24% 0.168 -0.1259) |
| OKLCH | oklch(52.24% 0.21 323.2) |
| XYZ | xyz(22.7041, 12.1172, 40.6700) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.43
Purply
#983FB2
ΔE00 3.30
Medium Purple
#9E43A2
ΔE00 4.68
Barney Purple
#A00498
ΔE00 4.76
Warm Purple
#952E8F
ΔE00 5.21
Ugly Purple
#A442A0
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2BAD #39AD2B
analogous
#5E2BAD #9F2BAD #AD2B7A
triadic
#9F2BAD #AD9F2B #2BAD9F
tetradic
#9F2BAD #AD5E2B #39AD2B #2B7AAD
square
#9F2BAD #AD5E2B #39AD2B #2B7AAD
split-complementary
#9F2BAD #7AAD2B #2BAD5E
monochromatic
#45134B #721F7C #9F2BAD #C245D1 #D276DD
Accessibility & contrast
On white
6.13
#9F2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#9F2BAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2BAD
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2BAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2BAD | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#A1446A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9f2bad; /* rgb */ color: rgb(159, 43, 173); /* oklch */ color: oklch(52.2% 0.210 323.2);
Tailwind
colors: {
custom: {
50: '#bf71c6',
500: '#9f2bad',
950: '#000000',
},
}SCSS
$custom: #9f2bad; $custom-light: #bf71c6; $custom-dark: #000000;
JSON
{
"hex": "#9f2bad",
"rgb": {
"r": 159,
"g": 43,
"b": 173
},
"hsl": {
"h": 293.538,
"s": 60.185,
"l": 42.353
},
"oklch": {
"l": 0.52243,
"c": 0.20993,
"h": 323.2
},
"luminance": 0.12116
}Semantic roles & 50–950 ramp
primary
#9F2BAD
secondary
#78C46F
accent
#E34456
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82