#9B2CA2#9B2CA2
#9B2CA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CA2 |
|---|---|
| RGB | rgb(155, 44, 162) |
| HSL | hsl(296, 57%, 40%) |
| HSV | hsv(296, 73%, 64%) |
| CMYK | cmyk(4.3%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(40.21, 59.68, -40.43) |
| CIE-LCH | lch(40.21, 72.09, 325.88°) |
| OKLab | oklab(51.06% 0.1631 -0.1125) |
| OKLCH | oklch(51.06% 0.198 325.4) |
| XYZ | xyz(20.9394, 11.3799, 35.2691) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Barney Purple
#A00498
ΔE00 3.60
Barney
#AC1DB8
ΔE00 3.97
Purply
#983FB2
ΔE00 4.26
Medium Purple
#9E43A2
ΔE00 4.41
Ugly Purple
#A442A0
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CA2 #33A22C
analogous
#602CA2 #9B2CA2 #A22C6E
triadic
#9B2CA2 #A29B2C #2CA29B
tetradic
#9B2CA2 #A2602C #33A22C #2C6EA2
square
#9B2CA2 #A2602C #33A22C #2C6EA2
split-complementary
#9B2CA2 #6EA22C #2CA260
monochromatic
#3F1242 #6D1F72 #9B2CA2 #C340CB #D270D8
Accessibility & contrast
On white
6.41
#9B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9B2CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CA2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CA2 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9F4064
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b2ca2; /* rgb */ color: rgb(155, 44, 162); /* oklch */ color: oklch(51.1% 0.198 325.4);
Tailwind
colors: {
custom: {
50: '#bc71be',
500: '#9b2ca2',
950: '#000000',
},
}SCSS
$custom: #9b2ca2; $custom-light: #bc71be; $custom-dark: #000000;
JSON
{
"hex": "#9b2ca2",
"rgb": {
"r": 155,
"g": 44,
"b": 162
},
"hsl": {
"h": 296.441,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.51057,
"c": 0.19808,
"h": 325.4
},
"luminance": 0.11379
}Semantic roles & 50–950 ramp
primary
#9B2CA2
secondary
#6FBF6A
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81