#8A60E4#8A60E4
#8A60E4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.192 H 294.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60E4 |
|---|---|
| RGB | rgb(138, 96, 228) |
| HSL | hsl(259, 71%, 64%) |
| HSV | hsv(259, 58%, 89%) |
| CMYK | cmyk(39.5%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(51.12, 46.00, -61.39) |
| CIE-LCH | lch(51.12, 76.71, 306.85°) |
| OKLab | oklab(59.8% 0.0798 -0.1746) |
| OKLCH | oklch(59.8% 0.192 294.6) |
| XYZ | xyz(28.6640, 19.3698, 75.6123) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.74
Mediumslateblue
#7B68EE
ΔE00 4.05
Lighter Purple
#A55AF4
ΔE00 5.07
Mediumpurple
#9370DB
ΔE00 5.12
Lightish Purple
#A552E6
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60E4 #BAE460
analogous
#6078E4 #8A60E4 #CC60E4
triadic
#8A60E4 #E48A60 #60E48A
tetradic
#8A60E4 #E46078 #BAE460 #60E4CC
square
#8A60E4 #E46078 #BAE460 #60E4CC
split-complementary
#8A60E4 #E4CC60 #78E460
monochromatic
#4B1DAC #642CDB #8A60E4 #B094ED #D7C9F6
Accessibility & contrast
On white
4.31
#8A60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8A60E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60E4
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60E4 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A7BE8
Deuteranopia (green-blind)
#2378E1
Tritanopia (blue-blind)
#737D99
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a60e4; /* rgb */ color: rgb(138, 96, 228); /* oklch */ color: oklch(59.8% 0.192 294.6);
Tailwind
colors: {
custom: {
50: '#b18fed',
500: '#8a60e4',
950: '#000000',
},
}SCSS
$custom: #8a60e4; $custom-light: #b18fed; $custom-dark: #000000;
JSON
{
"hex": "#8a60e4",
"rgb": {
"r": 138,
"g": 96,
"b": 228
},
"hsl": {
"h": 259.091,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.59801,
"c": 0.19199,
"h": 294.6
},
"luminance": 0.1937
}Semantic roles & 50–950 ramp
primary
#8A60E4
secondary
#D8E7B9
accent
#D31396
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84