#8B5FE3#8B5FE3
#8B5FE3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.192 H 295.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5FE3 |
|---|---|
| RGB | rgb(139, 95, 227) |
| HSL | hsl(260, 70%, 63%) |
| HSV | hsv(260, 58%, 89%) |
| CMYK | cmyk(38.8%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(50.94, 46.51, -61.10) |
| CIE-LCH | lch(50.94, 76.79, 307.28°) |
| OKLab | oklab(59.68% 0.0823 -0.1738) |
| OKLCH | oklch(59.68% 0.192 295.3) |
| XYZ | xyz(28.6012, 19.2189, 74.8609) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.52
Mediumslateblue
#7B68EE
ΔE00 4.42
Lighter Purple
#A55AF4
ΔE00 4.93
Lightish Purple
#A552E6
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5FE3 #B7E35F
analogous
#5F75E3 #8B5FE3 #CD5FE3
triadic
#8B5FE3 #E38B5F #5FE38B
tetradic
#8B5FE3 #E35F75 #B7E35F #5FE3CD
square
#8B5FE3 #E35F75 #B7E35F #5FE3CD
split-complementary
#8B5FE3 #E3CD5F #75E35F
monochromatic
#4C1EAA #652BDA #8B5FE3 #B193EC #D7C7F5
Accessibility & contrast
On white
4.34
#8B5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#8B5FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5FE3
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5FE3 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#087AE7
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#757B98
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8b5fe3; /* rgb */ color: rgb(139, 95, 227); /* oklch */ color: oklch(59.7% 0.192 295.3);
Tailwind
colors: {
custom: {
50: '#b28eed',
500: '#8b5fe3',
950: '#000000',
},
}SCSS
$custom: #8b5fe3; $custom-light: #b28eed; $custom-dark: #000000;
JSON
{
"hex": "#8b5fe3",
"rgb": {
"r": 139,
"g": 95,
"b": 227
},
"hsl": {
"h": 260,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.59676,
"c": 0.19224,
"h": 295.3
},
"luminance": 0.19219
}Semantic roles & 50–950 ramp
primary
#8B5FE3
secondary
#D7E7B7
accent
#D21393
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84