#8B5BF5#8B5BF5
#8B5BF5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.219 H 293.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5BF5 |
|---|---|
| RGB | rgb(139, 91, 245) |
| HSL | hsl(259, 89%, 66%) |
| HSV | hsv(259, 63%, 96%) |
| CMYK | cmyk(43.3%, 62.9%, 0%, 3.9%) |
| CIE-LAB | lab(51.34, 53.42, -70.56) |
| CIE-LCH | lch(51.34, 88.50, 307.13°) |
| OKLab | oklab(60.35% 0.0857 -0.2016) |
| OKLCH | oklch(60.35% 0.219 293) |
| XYZ | xyz(30.8655, 19.5628, 88.5183) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.97
Mediumslateblue
#7B68EE
ΔE00 4.42
Lighter Purple
#A55AF4
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 5.54
Mediumpurple
#9370DB
ΔE00 6.88
Light Indigo
#6D5ACF
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5BF5 #C5F55B
analogous
#5B78F5 #8B5BF5 #D85BF5
triadic
#8B5BF5 #F58B5B #5BF58B
tetradic
#8B5BF5 #F55B78 #C5F55B #5BF5D8
square
#8B5BF5 #F55B78 #C5F55B #5BF5D8
split-complementary
#8B5BF5 #F5D85B #78F55B
monochromatic
#470CC9 #6221F1 #8B5BF5 #B495F9 #DDCEFC
Accessibility & contrast
On white
4.27
#8B5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#8B5BF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5BF5
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5BF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5BF5 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#6D7FA0
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b5bf5; /* rgb */ color: rgb(139, 91, 245); /* oklch */ color: oklch(60.3% 0.219 293.0);
Tailwind
colors: {
custom: {
50: '#b48cf9',
500: '#8b5bf5',
950: '#000000',
},
}SCSS
$custom: #8b5bf5; $custom-light: #b48cf9; $custom-dark: #000000;
JSON
{
"hex": "#8b5bf5",
"rgb": {
"r": 139,
"g": 91,
"b": 245
},
"hsl": {
"h": 258.701,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.60348,
"c": 0.21901,
"h": 293
},
"luminance": 0.19564
}Semantic roles & 50–950 ramp
primary
#8B5BF5
secondary
#DFEFBC
accent
#E5009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85