#9B47BB#9B47BB
#9B47BB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.186 H 315.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9B47BB |
|---|---|
| RGB | rgb(155, 71, 187) |
| HSL | hsl(283, 46%, 51%) |
| HSV | hsv(283, 62%, 73%) |
| CMYK | cmyk(17.1%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(45.72, 53.20, -46.44) |
| CIE-LCH | lch(45.72, 70.62, 318.88°) |
| OKLab | oklab(55.5% 0.1325 -0.1302) |
| OKLCH | oklch(55.5% 0.186 315.5) |
| XYZ | xyz(24.7390, 15.0637, 48.6085) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.36
Darkorchid
#9932CC
ΔE00 4.67
Medium Purple
#9E43A2
ΔE00 4.93
Barney
#AC1DB8
ΔE00 5.78
Ugly Purple
#A442A0
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B47BB #67BB47
analogous
#6147BB #9B47BB #BB47A1
triadic
#9B47BB #BB9B47 #47BB9B
tetradic
#9B47BB #BB6147 #67BB47 #47A1BB
square
#9B47BB #BB6147 #67BB47 #47A1BB
split-complementary
#9B47BB #A1BB47 #47BB61
monochromatic
#522563 #773590 #9B47BB #B374CC #CCA0DC
Accessibility & contrast
On white
5.23
#9B47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#9B47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B47BB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B47BB | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#995C7A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9b47bb; /* rgb */ color: rgb(155, 71, 187); /* oklch */ color: oklch(55.5% 0.186 315.5);
Tailwind
colors: {
custom: {
50: '#bc7fd0',
500: '#9b47bb',
950: '#000000',
},
}SCSS
$custom: #9b47bb; $custom-light: #bc7fd0; $custom-dark: #000000;
JSON
{
"hex": "#9b47bb",
"rgb": {
"r": 155,
"g": 71,
"b": 187
},
"hsl": {
"h": 283.448,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.55495,
"c": 0.18575,
"h": 315.5
},
"luminance": 0.15063
}Semantic roles & 50–950 ramp
primary
#9B47BB
secondary
#A3C995
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82