#8B4BD2#8B4BD2
#8B4BD2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.200 H 302.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BD2 |
|---|---|
| RGB | rgb(139, 75, 210) |
| HSL | hsl(268, 60%, 56%) |
| HSV | hsv(268, 64%, 82%) |
| CMYK | cmyk(33.8%, 64.3%, 0%, 17.6%) |
| CIE-LAB | lab(45.87, 52.79, -59.61) |
| CIE-LCH | lch(45.87, 79.62, 311.52°) |
| OKLab | oklab(55.63% 0.1061 -0.1693) |
| OKLCH | oklch(55.63% 0.2 302.1) |
| XYZ | xyz(24.7937, 15.1742, 62.5830) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.09
Darkorchid
#9932CC
ΔE00 4.99
Blueviolet
#8A2BE2
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.49
Purply
#983FB2
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BD2 #92D24B
analogous
#4B4ED2 #8B4BD2 #CE4BD2
triadic
#8B4BD2 #D28B4B #4BD28B
tetradic
#8B4BD2 #D24B4E #92D24B #4BD2CE
square
#8B4BD2 #D24B4E #92D24B #4BD2CE
split-complementary
#8B4BD2 #D2CE4B #4ED24B
monochromatic
#4F2182 #6C2DB3 #8B4BD2 #AB7CDE #CAADEA
Accessibility & contrast
On white
5.20
#8B4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8B4BD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BD2
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BD2 | 1.00 | 5.20 | 4.03 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8b4bd2; /* rgb */ color: rgb(139, 75, 210); /* oklch */ color: oklch(55.6% 0.200 302.1);
Tailwind
colors: {
custom: {
50: '#b281e1',
500: '#8b4bd2',
950: '#000000',
},
}SCSS
$custom: #8b4bd2; $custom-light: #b281e1; $custom-dark: #000000;
JSON
{
"hex": "#8b4bd2",
"rgb": {
"r": 139,
"g": 75,
"b": 210
},
"hsl": {
"h": 268.444,
"s": 60,
"l": 55.882
},
"oklch": {
"l": 0.55632,
"c": 0.19981,
"h": 302.1
},
"luminance": 0.15174
}Semantic roles & 50–950 ramp
primary
#8B4BD2
secondary
#BED8A0
accent
#E34598
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83