#9B47BD#9B47BD
#9B47BD is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.188 H 314.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9B47BD |
|---|---|
| RGB | rgb(155, 71, 189) |
| HSL | hsl(283, 47%, 51%) |
| HSV | hsv(283, 62%, 74%) |
| CMYK | cmyk(18%, 62.4%, 0%, 25.9%) |
| CIE-LAB | lab(45.84, 53.62, -47.42) |
| CIE-LCH | lch(45.84, 71.58, 318.51°) |
| OKLab | oklab(55.62% 0.1325 -0.133) |
| OKLCH | oklch(55.62% 0.188 314.9) |
| XYZ | xyz(24.9546, 15.1500, 49.7440) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.58
Darkorchid
#9932CC
ΔE00 4.47
Medium Purple
#9E43A2
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B47BD #69BD47
analogous
#6047BD #9B47BD #BD47A4
triadic
#9B47BD #BD9B47 #47BD9B
tetradic
#9B47BD #BD6047 #69BD47 #47A4BD
square
#9B47BD #BD6047 #69BD47 #47A4BD
split-complementary
#9B47BD #A4BD47 #47BD60
monochromatic
#532465 #773492 #9B47BD #B374CD #CCA1DD
Accessibility & contrast
On white
5.21
#9B47BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9B47BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B47BD
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B47BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B47BD | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#985C7B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9b47bd; /* rgb */ color: rgb(155, 71, 189); /* oklch */ color: oklch(55.6% 0.188 314.9);
Tailwind
colors: {
custom: {
50: '#bc7fd1',
500: '#9b47bd',
950: '#000000',
},
}SCSS
$custom: #9b47bd; $custom-light: #bc7fd1; $custom-dark: #000000;
JSON
{
"hex": "#9b47bd",
"rgb": {
"r": 155,
"g": 71,
"b": 189
},
"hsl": {
"h": 282.712,
"s": 47.2,
"l": 50.98
},
"oklch": {
"l": 0.55618,
"c": 0.18776,
"h": 314.9
},
"luminance": 0.15149
}Semantic roles & 50–950 ramp
primary
#9B47BD
secondary
#A5CA96
accent
#D75178
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82