#8B4FD6#8B4FD6
#8B4FD6 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.199 H 300.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4FD6 |
|---|---|
| RGB | rgb(139, 79, 214) |
| HSL | hsl(267, 62%, 57%) |
| HSV | hsv(267, 63%, 84%) |
| CMYK | cmyk(35%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(46.89, 51.73, -60.26) |
| CIE-LCH | lch(46.89, 79.42, 310.65°) |
| OKLab | oklab(56.45% 0.1012 -0.1713) |
| OKLCH | oklch(56.45% 0.199 300.6) |
| XYZ | xyz(25.5781, 15.9358, 65.3336) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.98
Lightish Purple
#A552E6
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 6.28
Blueviolet
#8A2BE2
ΔE00 6.43
Deep Lavender
#8D5EB7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4FD6 #9AD64F
analogous
#4F56D6 #8B4FD6 #CF4FD6
triadic
#8B4FD6 #D68B4F #4FD68B
tetradic
#8B4FD6 #D64F56 #9AD64F #4FD6CF
square
#8B4FD6 #D64F56 #9AD64F #4FD6CF
split-complementary
#8B4FD6 #D6CF4F #56D64F
monochromatic
#4F208A #6C2CBC #8B4FD6 #AC81E2 #CCB2ED
Accessibility & contrast
On white
5.02
#8B4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#8B4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4FD6
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4FD6 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#7B6D8B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b4fd6; /* rgb */ color: rgb(139, 79, 214); /* oklch */ color: oklch(56.5% 0.199 300.6);
Tailwind
colors: {
custom: {
50: '#b284e3',
500: '#8b4fd6',
950: '#000000',
},
}SCSS
$custom: #8b4fd6; $custom-light: #b284e3; $custom-dark: #000000;
JSON
{
"hex": "#8b4fd6",
"rgb": {
"r": 139,
"g": 79,
"b": 214
},
"hsl": {
"h": 266.667,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.56453,
"c": 0.19894,
"h": 300.6
},
"luminance": 0.15936
}Semantic roles & 50–950 ramp
primary
#8B4FD6
secondary
#C3DCA5
accent
#E5439D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84