#8B4CDC#8B4CDC
#8B4CDC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.210 H 299.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4CDC |
|---|---|
| RGB | rgb(139, 76, 220) |
| HSL | hsl(266, 67%, 58%) |
| HSV | hsv(266, 65%, 86%) |
| CMYK | cmyk(36.8%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.74, 54.74, -63.92) |
| CIE-LCH | lch(46.74, 84.15, 310.58°) |
| OKLab | oklab(56.48% 0.104 -0.182) |
| OKLCH | oklch(56.48% 0.21 299.7) |
| XYZ | xyz(26.1470, 15.8249, 69.3732) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.87
Lightish Purple
#A552E6
ΔE00 5.44
Blueviolet
#8A2BE2
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 5.88
Bluish Purple
#703BE7
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4CDC #9DDC4C
analogous
#4C55DC #8B4CDC #D34CDC
triadic
#8B4CDC #DC8B4C #4CDC8B
tetradic
#8B4CDC #DC4C55 #9DDC4C #4CDCD3
square
#8B4CDC #DC4C55 #9DDC4C #4CDCD3
split-complementary
#8B4CDC #DCD34C #55DC4C
monochromatic
#4F1C91 #6C26C4 #8B4CDC #AC7FE6 #CDB2F0
Accessibility & contrast
On white
5.04
#8B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#8B4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4CDC
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4CDC | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#796D8E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b4cdc; /* rgb */ color: rgb(139, 76, 220); /* oklch */ color: oklch(56.5% 0.210 299.7);
Tailwind
colors: {
custom: {
50: '#b282e8',
500: '#8b4cdc',
950: '#000000',
},
}SCSS
$custom: #8b4cdc; $custom-light: #b282e8; $custom-dark: #000000;
JSON
{
"hex": "#8b4cdc",
"rgb": {
"r": 139,
"g": 76,
"b": 220
},
"hsl": {
"h": 266.25,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.56478,
"c": 0.20961,
"h": 299.7
},
"luminance": 0.15825
}Semantic roles & 50–950 ramp
primary
#8B4CDC
secondary
#C5DFA5
accent
#EA3E9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84