#8B5BF6#8B5BF6
#8B5BF6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.220 H 292.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5BF6 |
|---|---|
| RGB | rgb(139, 91, 246) |
| HSL | hsl(259, 90%, 66%) |
| HSV | hsv(259, 63%, 96%) |
| CMYK | cmyk(43.5%, 63%, 0%, 3.5%) |
| CIE-LAB | lab(51.41, 53.68, -71.00) |
| CIE-LCH | lch(51.41, 89.01, 307.09°) |
| OKLab | oklab(60.42% 0.0856 -0.2029) |
| OKLCH | oklch(60.42% 0.22 292.9) |
| XYZ | xyz(31.0185, 19.6240, 89.3244) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.08
Mediumslateblue
#7B68EE
ΔE00 4.41
Lighter Purple
#A55AF4
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 5.60
Mediumpurple
#9370DB
ΔE00 6.94
Light Indigo
#6D5ACF
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5BF6 #C6F65B
analogous
#5B78F6 #8B5BF6 #D95BF6
triadic
#8B5BF6 #F68B5B #5BF68B
tetradic
#8B5BF6 #F65B78 #C6F65B #5BF6D9
square
#8B5BF6 #F65B78 #C6F65B #5BF6D9
split-complementary
#8B5BF6 #F6D95B #78F65B
monochromatic
#470BCB #6221F3 #8B5BF6 #B495F9 #DDCFFC
Accessibility & contrast
On white
4.26
#8B5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#8B5BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5BF6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5BF6 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#6C7FA0
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b5bf6; /* rgb */ color: rgb(139, 91, 246); /* oklch */ color: oklch(60.4% 0.220 292.9);
Tailwind
colors: {
custom: {
50: '#b48cfa',
500: '#8b5bf6',
950: '#000000',
},
}SCSS
$custom: #8b5bf6; $custom-light: #b48cfa; $custom-dark: #000000;
JSON
{
"hex": "#8b5bf6",
"rgb": {
"r": 139,
"g": 91,
"b": 246
},
"hsl": {
"h": 258.581,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.60421,
"c": 0.22018,
"h": 292.9
},
"luminance": 0.19625
}Semantic roles & 50–950 ramp
primary
#8B5BF6
secondary
#E0F0BD
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85