#9B3BB4#9B3BB4
#9B3BB4 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.195 H 318.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3BB4 |
|---|---|
| RGB | rgb(155, 59, 180) |
| HSL | hsl(288, 51%, 47%) |
| HSV | hsv(288, 67%, 71%) |
| CMYK | cmyk(13.9%, 67.2%, 0%, 29.4%) |
| CIE-LAB | lab(43.35, 57.19, -46.13) |
| CIE-LCH | lch(43.35, 73.48, 321.11°) |
| OKLab | oklab(53.65% 0.1467 -0.1292) |
| OKLCH | oklch(53.65% 0.195 318.6) |
| XYZ | xyz(23.3186, 13.3928, 44.5279) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.80
Barney
#AC1DB8
ΔE00 3.76
Medium Purple
#9E43A2
ΔE00 4.16
Darkorchid
#9932CC
ΔE00 4.17
Ugly Purple
#A442A0
ΔE00 5.25
Vibrant Purple
#AD03DE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3BB4 #54B43B
analogous
#5E3BB4 #9B3BB4 #B43B91
triadic
#9B3BB4 #B49B3B #3BB49B
tetradic
#9B3BB4 #B45E3B #54B43B #3B91B4
square
#9B3BB4 #B45E3B #54B43B #3B91B4
split-complementary
#9B3BB4 #91B43B #3BB45E
monochromatic
#4C1D58 #732C86 #9B3BB4 #B561CB #CB8FDA
Accessibility & contrast
On white
5.71
#9B3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9B3BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3BB4
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3BB4 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#9B5173
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9b3bb4; /* rgb */ color: rgb(155, 59, 180); /* oklch */ color: oklch(53.6% 0.195 318.6);
Tailwind
colors: {
custom: {
50: '#bc78cb',
500: '#9b3bb4',
950: '#000000',
},
}SCSS
$custom: #9b3bb4; $custom-light: #bc78cb; $custom-dark: #000000;
JSON
{
"hex": "#9b3bb4",
"rgb": {
"r": 155,
"g": 59,
"b": 180
},
"hsl": {
"h": 287.603,
"s": 50.628,
"l": 46.863
},
"oklch": {
"l": 0.53649,
"c": 0.19549,
"h": 318.6
},
"luminance": 0.13392
}Semantic roles & 50–950 ramp
primary
#9B3BB4
secondary
#93C586
accent
#DA4E6B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82