#9C2CAB#9C2CAB
#9C2CAB is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 322.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2CAB |
|---|---|
| RGB | rgb(156, 44, 171) |
| HSL | hsl(293, 59%, 42%) |
| HSV | hsv(293, 74%, 67%) |
| CMYK | cmyk(8.8%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(40.91, 61.49, -44.69) |
| CIE-LCH | lch(40.91, 76.02, 324.00°) |
| OKLab | oklab(51.76% 0.1638 -0.1248) |
| OKLCH | oklch(51.76% 0.206 322.7) |
| XYZ | xyz(21.9609, 11.8108, 39.6432) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.96
Purply
#983FB2
ΔE00 3.32
Barney Purple
#A00498
ΔE00 4.62
Medium Purple
#9E43A2
ΔE00 4.75
Warm Purple
#952E8F
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2CAB #3BAB2C
analogous
#5C2CAB #9C2CAB #AB2C7B
triadic
#9C2CAB #AB9C2C #2CAB9C
tetradic
#9C2CAB #AB5C2C #3BAB2C #2C7BAB
square
#9C2CAB #AB5C2C #3BAB2C #2C7BAB
split-complementary
#9C2CAB #7BAB2C #2CAB5C
monochromatic
#43134A #701F7A #9C2CAB #BF45CF #D076DC
Accessibility & contrast
On white
6.25
#9C2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9C2CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2CAB
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2CAB | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#9E446A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c2cab; /* rgb */ color: rgb(156, 44, 171); /* oklch */ color: oklch(51.8% 0.206 322.7);
Tailwind
colors: {
custom: {
50: '#bd71c5',
500: '#9c2cab',
950: '#000000',
},
}SCSS
$custom: #9c2cab; $custom-light: #bd71c5; $custom-dark: #000000;
JSON
{
"hex": "#9c2cab",
"rgb": {
"r": 156,
"g": 44,
"b": 171
},
"hsl": {
"h": 292.913,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51762,
"c": 0.20594,
"h": 322.7
},
"luminance": 0.1181
}Semantic roles & 50–950 ramp
primary
#9C2CAB
secondary
#79C36F
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82