#8B4CD1#8B4CD1
#8B4CD1 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.197 H 302.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4CD1 |
|---|---|
| RGB | rgb(139, 76, 209) |
| HSL | hsl(268, 59%, 56%) |
| HSV | hsv(268, 64%, 82%) |
| CMYK | cmyk(33.5%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(45.99, 52.04, -58.85) |
| CIE-LCH | lch(45.99, 78.56, 311.49°) |
| OKLab | oklab(55.7% 0.105 -0.1671) |
| OKLCH | oklch(55.7% 0.197 302.1) |
| XYZ | xyz(24.7378, 15.2612, 61.9517) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.05
Darkorchid
#9932CC
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.89
Lightish Purple
#A552E6
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.64
Bluish Purple
#703BE7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4CD1 #92D14C
analogous
#4C4FD1 #8B4CD1 #CD4CD1
triadic
#8B4CD1 #D18B4C #4CD18B
tetradic
#8B4CD1 #D14C4F #92D14C #4CD1CD
square
#8B4CD1 #D14C4F #92D14C #4CD1CD
split-complementary
#8B4CD1 #D1CD4C #4FD14C
monochromatic
#4F2181 #6C2EB2 #8B4CD1 #AB7DDE #CAADEA
Accessibility & contrast
On white
5.18
#8B4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8B4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4CD1
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4CD1 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#1C6CCE
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8b4cd1; /* rgb */ color: rgb(139, 76, 209); /* oklch */ color: oklch(55.7% 0.197 302.1);
Tailwind
colors: {
custom: {
50: '#b282e0',
500: '#8b4cd1',
950: '#000000',
},
}SCSS
$custom: #8b4cd1; $custom-light: #b282e0; $custom-dark: #000000;
JSON
{
"hex": "#8b4cd1",
"rgb": {
"r": 139,
"g": 76,
"b": 209
},
"hsl": {
"h": 268.421,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.55696,
"c": 0.19736,
"h": 302.1
},
"luminance": 0.15261
}Semantic roles & 50–950 ramp
primary
#8B4CD1
secondary
#BED8A1
accent
#E24698
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83