#9A2CAB#9A2CAB
#9A2CAB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 321.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2CAB |
|---|---|
| RGB | rgb(154, 44, 171) |
| HSL | hsl(292, 59%, 42%) |
| HSV | hsv(292, 74%, 67%) |
| CMYK | cmyk(9.9%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(40.59, 61.07, -45.21) |
| CIE-LCH | lch(40.59, 75.99, 323.49°) |
| OKLab | oklab(51.47% 0.1615 -0.1264) |
| OKLCH | oklch(51.47% 0.205 321.9) |
| XYZ | xyz(21.5770, 11.6129, 39.6252) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.24
Purply
#983FB2
ΔE00 3.36
Barney Purple
#A00498
ΔE00 4.69
Warm Purple
#952E8F
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2CAB #3DAB2C
analogous
#5B2CAB #9A2CAB #AB2C7C
triadic
#9A2CAB #AB9A2C #2CAB9A
tetradic
#9A2CAB #AB5B2C #3DAB2C #2C7CAB
square
#9A2CAB #AB5B2C #3DAB2C #2C7CAB
split-complementary
#9A2CAB #7CAB2C #2CAB5B
monochromatic
#42134A #6E1F7A #9A2CAB #BD45CF #CE76DC
Accessibility & contrast
On white
6.32
#9A2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9A2CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2CAB
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2CAB | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#9C446A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9a2cab; /* rgb */ color: rgb(154, 44, 171); /* oklch */ color: oklch(51.5% 0.205 321.9);
Tailwind
colors: {
custom: {
50: '#bc71c5',
500: '#9a2cab',
950: '#000000',
},
}SCSS
$custom: #9a2cab; $custom-light: #bc71c5; $custom-dark: #000000;
JSON
{
"hex": "#9a2cab",
"rgb": {
"r": 154,
"g": 44,
"b": 171
},
"hsl": {
"h": 291.969,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51471,
"c": 0.20508,
"h": 321.9
},
"luminance": 0.11612
}Semantic roles & 50–950 ramp
primary
#9A2CAB
secondary
#7BC36F
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82