#8B47BB#8B47BB
#8B47BB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.180 H 308.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8B47BB |
|---|---|
| RGB | rgb(139, 71, 187) |
| HSL | hsl(275, 46%, 51%) |
| HSV | hsv(275, 62%, 73%) |
| CMYK | cmyk(25.7%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(43.63, 49.36, -49.90) |
| CIE-LCH | lch(43.63, 70.19, 314.68°) |
| OKLab | oklab(53.53% 0.1121 -0.1408) |
| OKLCH | oklch(53.53% 0.18 308.5) |
| XYZ | xyz(21.8685, 13.5836, 48.4739) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 4.29
Royal Purple
#7851A9
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 6.28
Blueviolet
#8A2BE2
ΔE00 6.92
Medium Purple
#9E43A2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B47BB #77BB47
analogous
#5147BB #8B47BB #BB47B1
triadic
#8B47BB #BB8B47 #47BB8B
tetradic
#8B47BB #BB5147 #77BB47 #47B1BB
square
#8B47BB #BB5147 #77BB47 #47B1BB
split-complementary
#8B47BB #B1BB47 #47BB51
monochromatic
#492563 #6A3590 #8B47BB #A774CC #C3A0DC
Accessibility & contrast
On white
5.65
#8B47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8B47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B47BB
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B47BB | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#845E7A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b47bb; /* rgb */ color: rgb(139, 71, 187); /* oklch */ color: oklch(53.5% 0.180 308.5);
Tailwind
colors: {
custom: {
50: '#b07ed0',
500: '#8b47bb',
950: '#000000',
},
}SCSS
$custom: #8b47bb; $custom-light: #b07ed0; $custom-dark: #000000;
JSON
{
"hex": "#8b47bb",
"rgb": {
"r": 139,
"g": 71,
"b": 187
},
"hsl": {
"h": 275.172,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.53531,
"c": 0.17998,
"h": 308.5
},
"luminance": 0.13583
}Semantic roles & 50–950 ramp
primary
#8B47BB
secondary
#AAC995
accent
#D65289
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82