#8B59E4#8B59E4
#8B59E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.202 H 296.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8B59E4 |
|---|---|
| RGB | rgb(139, 89, 228) |
| HSL | hsl(262, 72%, 62%) |
| HSV | hsv(262, 61%, 89%) |
| CMYK | cmyk(39%, 61%, 0%, 10.6%) |
| CIE-LAB | lab(49.78, 50.03, -63.54) |
| CIE-LCH | lch(49.78, 80.87, 308.21°) |
| OKLab | oklab(58.85% 0.0891 -0.1809) |
| OKLCH | oklch(58.85% 0.202 296.2) |
| XYZ | xyz(28.2198, 18.2346, 75.4166) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.12
Lightish Purple
#A552E6
ΔE00 4.75
Lighter Purple
#A55AF4
ΔE00 5.06
Mediumslateblue
#7B68EE
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 6.11
Mediumpurple
#9370DB
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B59E4 #B2E459
analogous
#596CE4 #8B59E4 #D159E4
triadic
#8B59E4 #E48B59 #59E48B
tetradic
#8B59E4 #E4596C #B2E459 #59E4D1
square
#8B59E4 #E4596C #B2E459 #59E4D1
split-complementary
#8B59E4 #E4D159 #6CE459
monochromatic
#4E1BA7 #6624DB #8B59E4 #B08EED #D5C2F5
Accessibility & contrast
On white
4.52
#8B59E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#8B59E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B59E4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B59E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B59E4 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0D75E1
Tritanopia (blue-blind)
#757896
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8b59e4; /* rgb */ color: rgb(139, 89, 228); /* oklch */ color: oklch(58.8% 0.202 296.2);
Tailwind
colors: {
custom: {
50: '#b28aed',
500: '#8b59e4',
950: '#000000',
},
}SCSS
$custom: #8b59e4; $custom-light: #b28aed; $custom-dark: #000000;
JSON
{
"hex": "#8b59e4",
"rgb": {
"r": 139,
"g": 89,
"b": 228
},
"hsl": {
"h": 261.583,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.58847,
"c": 0.20166,
"h": 296.2
},
"luminance": 0.18235
}Semantic roles & 50–950 ramp
primary
#8B59E4
secondary
#D4E6B3
accent
#D4118E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84