#9F2AB1#9F2AB1
#9F2AB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.214 H 321.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2AB1 |
|---|---|
| RGB | rgb(159, 42, 177) |
| HSL | hsl(292, 62%, 43%) |
| HSV | hsv(292, 76%, 69%) |
| CMYK | cmyk(10.2%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.54, 63.85, -47.22) |
| CIE-LCH | lch(41.54, 79.42, 323.51°) |
| OKLab | oklab(52.42% 0.1686 -0.1322) |
| OKLCH | oklch(52.42% 0.214 321.9) |
| XYZ | xyz(23.0610, 12.2025, 42.7271) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.21
Purply
#983FB2
ΔE00 3.20
Darkorchid
#9932CC
ΔE00 4.80
Medium Purple
#9E43A2
ΔE00 5.13
Barney Purple
#A00498
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2AB1 #3CB12A
analogous
#5B2AB1 #9F2AB1 #B12A7F
triadic
#9F2AB1 #B19F2A #2AB19F
tetradic
#9F2AB1 #B15B2A #3CB12A #2A7FB1
square
#9F2AB1 #B15B2A #3CB12A #2A7FB1
split-complementary
#9F2AB1 #7FB12A #2AB15B
monochromatic
#46134E #731E80 #9F2AB1 #C045D3 #D177DF
Accessibility & contrast
On white
6.10
#9F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9F2AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2AB1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2AB1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#A1456C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9f2ab1; /* rgb */ color: rgb(159, 42, 177); /* oklch */ color: oklch(52.4% 0.214 321.9);
Tailwind
colors: {
custom: {
50: '#bf71c9',
500: '#9f2ab1',
950: '#000000',
},
}SCSS
$custom: #9f2ab1; $custom-light: #bf71c9; $custom-dark: #000000;
JSON
{
"hex": "#9f2ab1",
"rgb": {
"r": 159,
"g": 42,
"b": 177
},
"hsl": {
"h": 292,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.52418,
"c": 0.21422,
"h": 321.9
},
"luminance": 0.12201
}Semantic roles & 50–950 ramp
primary
#9F2AB1
secondary
#7CC670
accent
#E54359
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82