#8B5DB5#8B5DB5
#8B5DB5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.138 H 306.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5DB5 |
|---|---|
| RGB | rgb(139, 93, 181) |
| HSL | hsl(271, 37%, 54%) |
| HSV | hsv(271, 49%, 71%) |
| CMYK | cmyk(23.2%, 48.6%, 0%, 29%) |
| CIE-LAB | lab(47.82, 36.04, -39.72) |
| CIE-LCH | lch(47.82, 53.63, 312.21°) |
| OKLab | oklab(56.5% 0.0826 -0.1111) |
| OKLCH | oklch(56.5% 0.138 306.6) |
| XYZ | xyz(22.9006, 16.6541, 45.7152) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 0.57
Amethyst
#9B5FC0
ΔE00 3.60
Royal Purple
#7851A9
ΔE00 5.35
Deep Lilac
#966EBD
ΔE00 5.77
Purply
#983FB2
ΔE00 7.61
Dark Lavender
#856798
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5DB5 #87B55D
analogous
#5F5DB5 #8B5DB5 #B55DB3
triadic
#8B5DB5 #B58B5D #5DB58B
tetradic
#8B5DB5 #B55F5D #87B55D #5DB3B5
square
#8B5DB5 #B55F5D #87B55D #5DB3B5
split-complementary
#8B5DB5 #B3B55D #5DB55F
monochromatic
#4D3068 #6C4392 #8B5DB5 #A987C8 #C7B1DB
Accessibility & contrast
On white
4.85
#8B5DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8B5DB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B5DB5
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B5DB5 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4570B8
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#856C80
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8b5db5; /* rgb */ color: rgb(139, 93, 181); /* oklch */ color: oklch(56.5% 0.138 306.6);
Tailwind
colors: {
custom: {
50: '#af8ccb',
500: '#8b5db5',
950: '#000000',
},
}SCSS
$custom: #8b5db5; $custom-light: #af8ccb; $custom-dark: #000000;
JSON
{
"hex": "#8b5db5",
"rgb": {
"r": 139,
"g": 93,
"b": 181
},
"hsl": {
"h": 271.364,
"s": 37.288,
"l": 53.725
},
"oklch": {
"l": 0.56503,
"c": 0.13847,
"h": 306.6
},
"luminance": 0.16654
}Semantic roles & 50–950 ramp
primary
#8B5DB5
secondary
#B6CAA4
accent
#CD5B91
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110C13
muted
#807D82