#9B47BE#9B47BE
#9B47BE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.189 H 314.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9B47BE |
|---|---|
| RGB | rgb(155, 71, 190) |
| HSL | hsl(282, 48%, 51%) |
| HSV | hsv(282, 63%, 75%) |
| CMYK | cmyk(18.4%, 62.6%, 0%, 25.5%) |
| CIE-LAB | lab(45.90, 53.83, -47.91) |
| CIE-LCH | lch(45.90, 72.06, 318.33°) |
| OKLab | oklab(55.68% 0.1325 -0.1345) |
| OKLCH | oklch(55.68% 0.189 314.6) |
| XYZ | xyz(25.0636, 15.1935, 50.3176) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.70
Darkorchid
#9932CC
ΔE00 4.39
Medium Purple
#9E43A2
ΔE00 5.44
Barney
#AC1DB8
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 5.96
Deep Lavender
#8D5EB7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B47BE #6ABE47
analogous
#5F47BE #9B47BE #BE47A5
triadic
#9B47BE #BE9B47 #47BE9B
tetradic
#9B47BE #BE5F47 #6ABE47 #47A5BE
square
#9B47BE #BE5F47 #6ABE47 #47A5BE
split-complementary
#9B47BE #A5BE47 #47BE5F
monochromatic
#532466 #783494 #9B47BE #B474CE #CCA1DE
Accessibility & contrast
On white
5.20
#9B47BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#9B47BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B47BE
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B47BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B47BE | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#985D7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9b47be; /* rgb */ color: rgb(155, 71, 190); /* oklch */ color: oklch(55.7% 0.189 314.6);
Tailwind
colors: {
custom: {
50: '#bc7fd2',
500: '#9b47be',
950: '#000000',
},
}SCSS
$custom: #9b47be; $custom-light: #bc7fd2; $custom-dark: #000000;
JSON
{
"hex": "#9b47be",
"rgb": {
"r": 155,
"g": 71,
"b": 190
},
"hsl": {
"h": 282.353,
"s": 47.791,
"l": 51.176
},
"oklch": {
"l": 0.5568,
"c": 0.18877,
"h": 314.6
},
"luminance": 0.15193
}Semantic roles & 50–950 ramp
primary
#9B47BE
secondary
#A6CB96
accent
#D75078
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83