#8B5CF3#8B5CF3
#8B5CF3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.215 H 293.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5CF3 |
|---|---|
| RGB | rgb(139, 92, 243) |
| HSL | hsl(259, 86%, 66%) |
| HSV | hsv(259, 62%, 95%) |
| CMYK | cmyk(42.8%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(51.40, 52.36, -69.35) |
| CIE-LCH | lch(51.40, 86.89, 307.05°) |
| OKLab | oklab(60.35% 0.0848 -0.198) |
| OKLCH | oklch(60.35% 0.215 293.2) |
| XYZ | xyz(30.6479, 19.6135, 86.9476) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.91
Mediumslateblue
#7B68EE
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 4.55
Lightish Purple
#A552E6
ΔE00 5.51
Mediumpurple
#9370DB
ΔE00 6.59
Light Indigo
#6D5ACF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5CF3 #C4F35C
analogous
#5C79F3 #8B5CF3 #D65CF3
triadic
#8B5CF3 #F38B5C #5CF38B
tetradic
#8B5CF3 #F35C79 #C4F35C #5CF3D6
square
#8B5CF3 #F35C79 #C4F35C #5CF3D6
split-complementary
#8B5CF3 #F3D65C #79F35C
monochromatic
#480FC6 #6223EF #8B5CF3 #B495F7 #DCCEFB
Accessibility & contrast
On white
4.27
#8B5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8B5CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5CF3
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5CF3 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#6E7F9F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b5cf3; /* rgb */ color: rgb(139, 92, 243); /* oklch */ color: oklch(60.3% 0.215 293.2);
Tailwind
colors: {
custom: {
50: '#b48cf8',
500: '#8b5cf3',
950: '#000000',
},
}SCSS
$custom: #8b5cf3; $custom-light: #b48cf8; $custom-dark: #000000;
JSON
{
"hex": "#8b5cf3",
"rgb": {
"r": 139,
"g": 92,
"b": 243
},
"hsl": {
"h": 258.675,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.60346,
"c": 0.21539,
"h": 293.2
},
"luminance": 0.19614
}Semantic roles & 50–950 ramp
primary
#8B5CF3
secondary
#DFEFBC
accent
#E3039D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85