#8B4CD2#8B4CD2
#8B4CD2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.198 H 301.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4CD2 |
|---|---|
| RGB | rgb(139, 76, 210) |
| HSL | hsl(268, 60%, 56%) |
| HSV | hsv(268, 64%, 82%) |
| CMYK | cmyk(33.8%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(46.06, 52.28, -59.31) |
| CIE-LCH | lch(46.06, 79.07, 311.39°) |
| OKLab | oklab(55.77% 0.1049 -0.1685) |
| OKLCH | oklch(55.77% 0.198 301.9) |
| XYZ | xyz(24.8620, 15.3109, 62.6058) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.93
Darkorchid
#9932CC
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.86
Lightish Purple
#A552E6
ΔE00 5.92
Bluish Purple
#703BE7
ΔE00 6.62
Light Indigo
#6D5ACF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4CD2 #93D24C
analogous
#4C50D2 #8B4CD2 #CE4CD2
triadic
#8B4CD2 #D28B4C #4CD28B
tetradic
#8B4CD2 #D24C50 #93D24C #4CD2CE
square
#8B4CD2 #D24C50 #93D24C #4CD2CE
split-complementary
#8B4CD2 #D2CE4C #50D24C
monochromatic
#4F2183 #6C2DB4 #8B4CD2 #AB7DDE #CAAEEB
Accessibility & contrast
On white
5.17
#8B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8B4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4CD2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4CD2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#1A6DCF
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8b4cd2; /* rgb */ color: rgb(139, 76, 210); /* oklch */ color: oklch(55.8% 0.198 301.9);
Tailwind
colors: {
custom: {
50: '#b282e1',
500: '#8b4cd2',
950: '#000000',
},
}SCSS
$custom: #8b4cd2; $custom-light: #b282e1; $custom-dark: #000000;
JSON
{
"hex": "#8b4cd2",
"rgb": {
"r": 139,
"g": 76,
"b": 210
},
"hsl": {
"h": 268.209,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.55765,
"c": 0.19848,
"h": 301.9
},
"luminance": 0.15311
}Semantic roles & 50–950 ramp
primary
#8B4CD2
secondary
#BFD9A1
accent
#E34599
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83