#8B4FDA#8B4FDA
#8B4FDA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.203 H 299.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4FDA |
|---|---|
| RGB | rgb(139, 79, 218) |
| HSL | hsl(266, 65%, 58%) |
| HSV | hsv(266, 64%, 85%) |
| CMYK | cmyk(36.2%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(47.16, 52.72, -62.10) |
| CIE-LCH | lch(47.16, 81.47, 310.33°) |
| OKLab | oklab(56.74% 0.1009 -0.1767) |
| OKLCH | oklch(56.74% 0.203 299.7) |
| XYZ | xyz(26.0952, 16.1426, 68.0571) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.51
Lightish Purple
#A552E6
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 6.25
Darkorchid
#9932CC
ΔE00 6.30
Blueviolet
#8A2BE2
ΔE00 6.40
Bluish Purple
#703BE7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4FDA #9EDA4F
analogous
#4F58DA #8B4FDA #D04FDA
triadic
#8B4FDA #DA8B4F #4FDA8B
tetradic
#8B4FDA #DA4F58 #9EDA4F #4FDAD0
square
#8B4FDA #DA4F58 #9EDA4F #4FDAD0
split-complementary
#8B4FDA #DAD04F #58DA4F
monochromatic
#501E90 #6B29C3 #8B4FDA #AC82E5 #CEB4EF
Accessibility & contrast
On white
4.97
#8B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8B4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4FDA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4FDA | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#086FD7
Tritanopia (blue-blind)
#796E8D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8b4fda; /* rgb */ color: rgb(139, 79, 218); /* oklch */ color: oklch(56.7% 0.203 299.7);
Tailwind
colors: {
custom: {
50: '#b284e6',
500: '#8b4fda',
950: '#000000',
},
}SCSS
$custom: #8b4fda; $custom-light: #b284e6; $custom-dark: #000000;
JSON
{
"hex": "#8b4fda",
"rgb": {
"r": 139,
"g": 79,
"b": 218
},
"hsl": {
"h": 265.899,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.56735,
"c": 0.20347,
"h": 299.7
},
"luminance": 0.16143
}Semantic roles & 50–950 ramp
primary
#8B4FDA
secondary
#C6DEA7
accent
#E8409F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84