#8B5BCA#8B5BCA
#8B5BCA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.168 H 301.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5BCA |
|---|---|
| RGB | rgb(139, 91, 202) |
| HSL | hsl(266, 51%, 57%) |
| HSV | hsv(266, 55%, 79%) |
| CMYK | cmyk(31.2%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(48.56, 42.30, -50.71) |
| CIE-LCH | lch(48.56, 66.04, 309.84°) |
| OKLab | oklab(57.43% 0.087 -0.1432) |
| OKLCH | oklch(57.43% 0.168 301.3) |
| XYZ | xyz(25.0467, 17.2353, 57.8729) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.77
Purpley
#8756E4
ΔE00 4.30
Amethyst
#9B5FC0
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 6.21
Slate Blue
#6A5ACD
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5BCA #9ACA5B
analogous
#5B63CA #8B5BCA #C35BCA
triadic
#8B5BCA #CA8B5B #5BCA8B
tetradic
#8B5BCA #CA5B63 #9ACA5B #5BCAC3
square
#8B5BCA #CA5B63 #9ACA5B #5BCAC3
split-complementary
#8B5BCA #CAC35B #63CA5B
monochromatic
#4F2A81 #6C39AF #8B5BCA #AC89D9 #CCB8E8
Accessibility & contrast
On white
4.72
#8B5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8B5BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B5BCA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B5BCA | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#7F718A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8b5bca; /* rgb */ color: rgb(139, 91, 202); /* oklch */ color: oklch(57.4% 0.168 301.3);
Tailwind
colors: {
custom: {
50: '#b08bdb',
500: '#8b5bca',
950: '#000000',
},
}SCSS
$custom: #8b5bca; $custom-light: #b08bdb; $custom-dark: #000000;
JSON
{
"hex": "#8b5bca",
"rgb": {
"r": 139,
"g": 91,
"b": 202
},
"hsl": {
"h": 265.946,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.57427,
"c": 0.16756,
"h": 301.3
},
"luminance": 0.17235
}Semantic roles & 50–950 ramp
primary
#8B5BCA
secondary
#C3D7AA
accent
#DB4D9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83