#8B4BB7#8B4BB7
#8B4BB7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.170 H 309.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BB7 |
|---|---|
| RGB | rgb(139, 75, 183) |
| HSL | hsl(276, 43%, 51%) |
| HSV | hsv(276, 59%, 72%) |
| CMYK | cmyk(24%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(44.15, 46.38, -46.73) |
| CIE-LCH | lch(44.15, 65.84, 314.78°) |
| OKLab | oklab(53.83% 0.1071 -0.1315) |
| OKLCH | oklch(53.83% 0.17 309.2) |
| XYZ | xyz(21.7091, 13.9404, 46.3377) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.65
Royal Purple
#7851A9
ΔE00 4.43
Deep Lavender
#8D5EB7
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.30
Medium Purple
#9E43A2
ΔE00 6.50
Amethyst
#9B5FC0
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BB7 #77B74B
analogous
#554BB7 #8B4BB7 #B74BAD
triadic
#8B4BB7 #B78B4B #4BB78B
tetradic
#8B4BB7 #B7554B #77B74B #4BADB7
square
#8B4BB7 #B7554B #77B74B #4BADB7
split-complementary
#8B4BB7 #ADB74B #4BB755
monochromatic
#492761 #6A388D #8B4BB7 #A777C8 #C3A2DA
Accessibility & contrast
On white
5.54
#8B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8B4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BB7
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BB7 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2266BA
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#855F7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b4bb7; /* rgb */ color: rgb(139, 75, 183); /* oklch */ color: oklch(53.8% 0.170 309.2);
Tailwind
colors: {
custom: {
50: '#b080cd',
500: '#8b4bb7',
950: '#000000',
},
}SCSS
$custom: #8b4bb7; $custom-light: #b080cd; $custom-dark: #000000;
JSON
{
"hex": "#8b4bb7",
"rgb": {
"r": 139,
"g": 75,
"b": 183
},
"hsl": {
"h": 275.556,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.53829,
"c": 0.16964,
"h": 309.2
},
"luminance": 0.1394
}Semantic roles & 50–950 ramp
primary
#8B4BB7
secondary
#AAC797
accent
#D35588
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82