#8B5CD3#8B5CD3
#8B5CD3 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.177 H 299.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5CD3 |
|---|---|
| RGB | rgb(139, 92, 211) |
| HSL | hsl(264, 57%, 59%) |
| HSV | hsv(264, 56%, 83%) |
| CMYK | cmyk(34.1%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(49.31, 44.02, -54.65) |
| CIE-LCH | lch(49.31, 70.18, 308.85°) |
| OKLab | oklab(58.16% 0.0859 -0.1548) |
| OKLCH | oklch(58.16% 0.177 299) |
| XYZ | xyz(26.2296, 17.8462, 63.6781) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.06
Deep Lavender
#8D5EB7
ΔE00 5.15
Lightish Purple
#A552E6
ΔE00 5.28
Amethyst
#9B5FC0
ΔE00 5.48
Light Indigo
#6D5ACF
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5CD3 #A4D35C
analogous
#5C69D3 #8B5CD3 #C65CD3
triadic
#8B5CD3 #D38B5C #5CD38B
tetradic
#8B5CD3 #D35C69 #A4D35C #5CD3C6
square
#8B5CD3 #D35C69 #A4D35C #5CD3C6
split-complementary
#8B5CD3 #D3C65C #69D35C
monochromatic
#4F268E #6A33BE #8B5CD3 #AD8CE0 #D0BCED
Accessibility & contrast
On white
4.60
#8B5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#8B5CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8B5CD3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B5CD3 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2575D7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#7B748F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8b5cd3; /* rgb */ color: rgb(139, 92, 211); /* oklch */ color: oklch(58.2% 0.177 299.0);
Tailwind
colors: {
custom: {
50: '#b18ce1',
500: '#8b5cd3',
950: '#000000',
},
}SCSS
$custom: #8b5cd3; $custom-light: #b18ce1; $custom-dark: #000000;
JSON
{
"hex": "#8b5cd3",
"rgb": {
"r": 139,
"g": 92,
"b": 211
},
"hsl": {
"h": 263.697,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.58156,
"c": 0.17704,
"h": 299
},
"luminance": 0.17846
}Semantic roles & 50–950 ramp
primary
#8B5CD3
secondary
#CADDAE
accent
#E147A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83