#8B60E4#8B60E4
#8B60E4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.192 H 295.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8B60E4 |
|---|---|
| RGB | rgb(139, 96, 228) |
| HSL | hsl(260, 71%, 64%) |
| HSV | hsv(260, 58%, 89%) |
| CMYK | cmyk(39%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(51.22, 46.23, -61.23) |
| CIE-LCH | lch(51.22, 76.72, 307.05°) |
| OKLab | oklab(59.9% 0.0811 -0.1741) |
| OKLCH | oklch(59.9% 0.192 295) |
| XYZ | xyz(28.8303, 19.4555, 75.6201) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.79
Mediumslateblue
#7B68EE
ΔE00 4.18
Lighter Purple
#A55AF4
ΔE00 4.90
Mediumpurple
#9370DB
ΔE00 5.04
Lightish Purple
#A552E6
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B60E4 #B9E460
analogous
#6077E4 #8B60E4 #CD60E4
triadic
#8B60E4 #E48B60 #60E48B
tetradic
#8B60E4 #E46077 #B9E460 #60E4CD
square
#8B60E4 #E46077 #B9E460 #60E4CD
split-complementary
#8B60E4 #E4CD60 #77E460
monochromatic
#4C1DAC #652CDB #8B60E4 #B194ED #D7C9F6
Accessibility & contrast
On white
4.29
#8B60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#8B60E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B60E4
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B60E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B60E4 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B7BE8
Deuteranopia (green-blind)
#2578E1
Tritanopia (blue-blind)
#757C99
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b60e4; /* rgb */ color: rgb(139, 96, 228); /* oklch */ color: oklch(59.9% 0.192 295.0);
Tailwind
colors: {
custom: {
50: '#b28fed',
500: '#8b60e4',
950: '#000000',
},
}SCSS
$custom: #8b60e4; $custom-light: #b28fed; $custom-dark: #000000;
JSON
{
"hex": "#8b60e4",
"rgb": {
"r": 139,
"g": 96,
"b": 228
},
"hsl": {
"h": 259.545,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.59897,
"c": 0.19207,
"h": 295
},
"luminance": 0.19456
}Semantic roles & 50–950 ramp
primary
#8B60E4
secondary
#D8E7B9
accent
#D31394
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84