#9B3BB6#9B3BB6
#9B3BB6 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.197 H 318.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3BB6 |
|---|---|
| RGB | rgb(155, 59, 182) |
| HSL | hsl(287, 51%, 47%) |
| HSV | hsv(287, 68%, 71%) |
| CMYK | cmyk(14.8%, 67.6%, 0%, 28.6%) |
| CIE-LAB | lab(43.47, 57.59, -47.11) |
| CIE-LCH | lch(43.47, 74.40, 320.72°) |
| OKLab | oklab(53.77% 0.1467 -0.1321) |
| OKLCH | oklch(53.77% 0.197 318) |
| XYZ | xyz(23.5239, 13.4749, 45.6087) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.93
Barney
#AC1DB8
ΔE00 3.80
Darkorchid
#9932CC
ΔE00 3.85
Medium Purple
#9E43A2
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3BB6 #56B63B
analogous
#5D3BB6 #9B3BB6 #B63B94
triadic
#9B3BB6 #B69B3B #3BB69B
tetradic
#9B3BB6 #B65D3B #56B63B #3B94B6
square
#9B3BB6 #B65D3B #56B63B #3B94B6
split-complementary
#9B3BB6 #94B63B #3BB65D
monochromatic
#4C1D5A #742C88 #9B3BB6 #B562CC #CB90DB
Accessibility & contrast
On white
5.68
#9B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9B3BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3BB6
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3BB6 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#9A5274
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9b3bb6; /* rgb */ color: rgb(155, 59, 182); /* oklch */ color: oklch(53.8% 0.197 318.0);
Tailwind
colors: {
custom: {
50: '#bc78cc',
500: '#9b3bb6',
950: '#000000',
},
}SCSS
$custom: #9b3bb6; $custom-light: #bc78cc; $custom-dark: #000000;
JSON
{
"hex": "#9b3bb6",
"rgb": {
"r": 155,
"g": 59,
"b": 182
},
"hsl": {
"h": 286.829,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.53775,
"c": 0.19735,
"h": 318
},
"luminance": 0.13474
}Semantic roles & 50–950 ramp
primary
#9B3BB6
secondary
#95C687
accent
#DB4D6C
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82