#8B4FD9#8B4FD9
#8B4FD9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.202 H 299.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4FD9 |
|---|---|
| RGB | rgb(139, 79, 217) |
| HSL | hsl(266, 64%, 58%) |
| HSV | hsv(266, 64%, 85%) |
| CMYK | cmyk(35.9%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(47.09, 52.48, -61.64) |
| CIE-LCH | lch(47.09, 80.95, 310.41°) |
| OKLab | oklab(56.66% 0.101 -0.1753) |
| OKLCH | oklch(56.66% 0.202 299.9) |
| XYZ | xyz(25.9648, 16.0905, 67.3700) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.62
Lightish Purple
#A552E6
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.26
Blueviolet
#8A2BE2
ΔE00 6.40
Bluish Purple
#703BE7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4FD9 #9DD94F
analogous
#4F58D9 #8B4FD9 #D04FD9
triadic
#8B4FD9 #D98B4F #4FD98B
tetradic
#8B4FD9 #D94F58 #9DD94F #4FD9D0
square
#8B4FD9 #D94F58 #9DD94F #4FD9D0
split-complementary
#8B4FD9 #D9D04F #58D94F
monochromatic
#4F1F8F #6C2AC1 #8B4FD9 #AC81E4 #CDB4EF
Accessibility & contrast
On white
4.98
#8B4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8B4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4FD9
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4FD9 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0D6FD6
Tritanopia (blue-blind)
#7A6E8D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8b4fd9; /* rgb */ color: rgb(139, 79, 217); /* oklch */ color: oklch(56.7% 0.202 299.9);
Tailwind
colors: {
custom: {
50: '#b284e6',
500: '#8b4fd9',
950: '#000000',
},
}SCSS
$custom: #8b4fd9; $custom-light: #b284e6; $custom-dark: #000000;
JSON
{
"hex": "#8b4fd9",
"rgb": {
"r": 139,
"g": 79,
"b": 217
},
"hsl": {
"h": 266.087,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.56664,
"c": 0.20234,
"h": 299.9
},
"luminance": 0.16091
}Semantic roles & 50–950 ramp
primary
#8B4FD9
secondary
#C5DDA6
accent
#E7409F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84