#9B3AB2#9B3AB2
#9B3AB2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.195 H 319.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3AB2 |
|---|---|
| RGB | rgb(155, 58, 178) |
| HSL | hsl(289, 51%, 46%) |
| HSV | hsv(289, 67%, 70%) |
| CMYK | cmyk(12.9%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(43.08, 57.23, -45.38) |
| CIE-LCH | lch(43.08, 73.04, 321.59°) |
| OKLab | oklab(53.42% 0.1479 -0.127) |
| OKLCH | oklch(53.42% 0.195 319.3) |
| XYZ | xyz(23.0655, 13.2101, 43.4457) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.94
Barney
#AC1DB8
ΔE00 3.63
Medium Purple
#9E43A2
ΔE00 3.95
Darkorchid
#9932CC
ΔE00 4.44
Ugly Purple
#A442A0
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3AB2 #51B23A
analogous
#5F3AB2 #9B3AB2 #B23A8D
triadic
#9B3AB2 #B29B3A #3AB29B
tetradic
#9B3AB2 #B25F3A #51B23A #3A8DB2
square
#9B3AB2 #B25F3A #51B23A #3A8DB2
split-complementary
#9B3AB2 #8DB23A #3AB25F
monochromatic
#4B1C56 #732B84 #9B3AB2 #B65FCB #CB8DDA
Accessibility & contrast
On white
5.77
#9B3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9B3AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3AB2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3AB2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5FB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9B5071
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9b3ab2; /* rgb */ color: rgb(155, 58, 178); /* oklch */ color: oklch(53.4% 0.195 319.3);
Tailwind
colors: {
custom: {
50: '#bc78ca',
500: '#9b3ab2',
950: '#000000',
},
}SCSS
$custom: #9b3ab2; $custom-light: #bc78ca; $custom-dark: #000000;
JSON
{
"hex": "#9b3ab2",
"rgb": {
"r": 155,
"g": 58,
"b": 178
},
"hsl": {
"h": 288.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.53415,
"c": 0.19495,
"h": 319.3
},
"luminance": 0.13209
}Semantic roles & 50–950 ramp
primary
#9B3AB2
secondary
#90C483
accent
#DA4D68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82