#9B2CA4#9B2CA4
#9B2CA4 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 324.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CA4 |
|---|---|
| RGB | rgb(155, 44, 164) |
| HSL | hsl(296, 58%, 41%) |
| HSV | hsv(296, 73%, 64%) |
| CMYK | cmyk(5.5%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(40.33, 60.03, -41.45) |
| CIE-LCH | lch(40.33, 72.95, 325.38°) |
| OKLab | oklab(51.18% 0.163 -0.1154) |
| OKLCH | oklch(51.18% 0.2 324.7) |
| XYZ | xyz(21.1186, 11.4516, 36.2128) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 3.75
Barney Purple
#A00498
ΔE00 3.80
Purply
#983FB2
ΔE00 4.01
Medium Purple
#9E43A2
ΔE00 4.47
Ugly Purple
#A442A0
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CA4 #35A42C
analogous
#5F2CA4 #9B2CA4 #A42C71
triadic
#9B2CA4 #A49B2C #2CA49B
tetradic
#9B2CA4 #A45F2C #35A42C #2C71A4
square
#9B2CA4 #A45F2C #35A42C #2C71A4
split-complementary
#9B2CA4 #71A42C #2CA45F
monochromatic
#401243 #6D1F74 #9B2CA4 #C241CC #D171D9
Accessibility & contrast
On white
6.38
#9B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9B2CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CA4
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CA4 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0156A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9E4166
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b2ca4; /* rgb */ color: rgb(155, 44, 164); /* oklch */ color: oklch(51.2% 0.200 324.7);
Tailwind
colors: {
custom: {
50: '#bc71bf',
500: '#9b2ca4',
950: '#000000',
},
}SCSS
$custom: #9b2ca4; $custom-light: #bc71bf; $custom-dark: #000000;
JSON
{
"hex": "#9b2ca4",
"rgb": {
"r": 155,
"g": 44,
"b": 164
},
"hsl": {
"h": 295.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.51179,
"c": 0.19971,
"h": 324.7
},
"luminance": 0.1145
}Semantic roles & 50–950 ramp
primary
#9B2CA4
secondary
#72C06B
accent
#E14752
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81