#9B2CA1#9B2CA1
#9B2CA1 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.197 H 325.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CA1 |
|---|---|
| RGB | rgb(155, 44, 161) |
| HSL | hsl(297, 57%, 40%) |
| HSV | hsv(297, 73%, 63%) |
| CMYK | cmyk(3.7%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(40.15, 59.51, -39.93) |
| CIE-LCH | lch(40.15, 71.66, 326.14°) |
| OKLab | oklab(51% 0.1631 -0.111) |
| OKLCH | oklch(51% 0.197 325.8) |
| XYZ | xyz(20.8508, 11.3445, 34.8028) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Barney Purple
#A00498
ΔE00 3.51
Barney
#AC1DB8
ΔE00 4.09
Purply
#983FB2
ΔE00 4.39
Medium Purple
#9E43A2
ΔE00 4.39
Ugly Purple
#A442A0
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CA1 #32A12C
analogous
#602CA1 #9B2CA1 #A12C6C
triadic
#9B2CA1 #A19B2C #2CA19B
tetradic
#9B2CA1 #A1602C #32A12C #2C6CA1
square
#9B2CA1 #A1602C #32A12C #2C6CA1
split-complementary
#9B2CA1 #6CA12C #2CA160
monochromatic
#3E1241 #6D1F71 #9B2CA1 #C440CB #D270D8
Accessibility & contrast
On white
6.42
#9B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9B2CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CA1
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CA1 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#46639E
Tritanopia (blue-blind)
#9F3F64
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b2ca1; /* rgb */ color: rgb(155, 44, 161); /* oklch */ color: oklch(51.0% 0.197 325.8);
Tailwind
colors: {
custom: {
50: '#bc70bd',
500: '#9b2ca1',
950: '#000000',
},
}SCSS
$custom: #9b2ca1; $custom-light: #bc70bd; $custom-dark: #000000;
JSON
{
"hex": "#9b2ca1",
"rgb": {
"r": 155,
"g": 44,
"b": 161
},
"hsl": {
"h": 296.923,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.50996,
"c": 0.19726,
"h": 325.8
},
"luminance": 0.11343
}Semantic roles & 50–950 ramp
primary
#9B2CA1
secondary
#6EBF6A
accent
#E0474F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81