#9B2CAB#9B2CAB
#9B2CAB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.206 H 322.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CAB |
|---|---|
| RGB | rgb(155, 44, 171) |
| HSL | hsl(292, 59%, 42%) |
| HSV | hsv(292, 74%, 67%) |
| CMYK | cmyk(9.4%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(40.75, 61.28, -44.95) |
| CIE-LCH | lch(40.75, 76.00, 323.74°) |
| OKLab | oklab(51.62% 0.1626 -0.1256) |
| OKLCH | oklch(51.62% 0.206 322.3) |
| XYZ | xyz(21.7682, 11.7115, 39.6341) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.10
Purply
#983FB2
ΔE00 3.33
Barney Purple
#A00498
ΔE00 4.65
Medium Purple
#9E43A2
ΔE00 4.87
Warm Purple
#952E8F
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CAB #3CAB2C
analogous
#5C2CAB #9B2CAB #AB2C7C
triadic
#9B2CAB #AB9B2C #2CAB9B
tetradic
#9B2CAB #AB5C2C #3CAB2C #2C7CAB
square
#9B2CAB #AB5C2C #3CAB2C #2C7CAB
split-complementary
#9B2CAB #7CAB2C #2CAB5C
monochromatic
#43134A #6F1F7A #9B2CAB #BE45CF #CF76DC
Accessibility & contrast
On white
6.28
#9B2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#9B2CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CAB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CAB | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#9D446A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9b2cab; /* rgb */ color: rgb(155, 44, 171); /* oklch */ color: oklch(51.6% 0.206 322.3);
Tailwind
colors: {
custom: {
50: '#bc71c5',
500: '#9b2cab',
950: '#000000',
},
}SCSS
$custom: #9b2cab; $custom-light: #bc71c5; $custom-dark: #000000;
JSON
{
"hex": "#9b2cab",
"rgb": {
"r": 155,
"g": 44,
"b": 171
},
"hsl": {
"h": 292.441,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51616,
"c": 0.20551,
"h": 322.3
},
"luminance": 0.1171
}Semantic roles & 50–950 ramp
primary
#9B2CAB
secondary
#7AC36F
accent
#E24659
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82