#9B3BB7#9B3BB7
#9B3BB7 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.198 H 317.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3BB7 |
|---|---|
| RGB | rgb(155, 59, 183) |
| HSL | hsl(286, 51%, 47%) |
| HSV | hsv(286, 68%, 72%) |
| CMYK | cmyk(15.3%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.53, 57.79, -47.60) |
| CIE-LCH | lch(43.53, 74.87, 320.52°) |
| OKLab | oklab(53.84% 0.1466 -0.1335) |
| OKLCH | oklch(53.84% 0.198 317.7) |
| XYZ | xyz(23.6276, 13.5164, 46.1549) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.04
Darkorchid
#9932CC
ΔE00 3.69
Barney
#AC1DB8
ΔE00 3.83
Medium Purple
#9E43A2
ΔE00 4.61
Ugly Purple
#A442A0
ΔE00 5.68
Vibrant Purple
#AD03DE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3BB7 #57B73B
analogous
#5D3BB7 #9B3BB7 #B73B95
triadic
#9B3BB7 #B79B3B #3BB79B
tetradic
#9B3BB7 #B75D3B #57B73B #3B95B7
square
#9B3BB7 #B75D3B #57B73B #3B95B7
split-complementary
#9B3BB7 #95B73B #3BB75D
monochromatic
#4D1D5A #742C89 #9B3BB7 #B563CD #CB91DC
Accessibility & contrast
On white
5.67
#9B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9B3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3BB7
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3BB7 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#9A5274
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9b3bb7; /* rgb */ color: rgb(155, 59, 183); /* oklch */ color: oklch(53.8% 0.198 317.7);
Tailwind
colors: {
custom: {
50: '#bc78cd',
500: '#9b3bb7',
950: '#000000',
},
}SCSS
$custom: #9b3bb7; $custom-light: #bc78cd; $custom-dark: #000000;
JSON
{
"hex": "#9b3bb7",
"rgb": {
"r": 155,
"g": 59,
"b": 183
},
"hsl": {
"h": 286.452,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.53838,
"c": 0.19827,
"h": 317.7
},
"luminance": 0.13515
}Semantic roles & 50–950 ramp
primary
#9B3BB7
secondary
#96C687
accent
#DB4D6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82