#8A60E9#8A60E9
#8A60E9 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.198 H 293.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60E9 |
|---|---|
| RGB | rgb(138, 96, 233) |
| HSL | hsl(258, 76%, 65%) |
| HSV | hsv(258, 59%, 91%) |
| CMYK | cmyk(40.8%, 58.8%, 0%, 8.6%) |
| CIE-LAB | lab(51.44, 47.33, -63.68) |
| CIE-LCH | lch(51.44, 79.34, 306.62°) |
| OKLab | oklab(60.14% 0.0797 -0.1814) |
| OKLCH | oklch(60.14% 0.198 293.7) |
| XYZ | xyz(29.3681, 19.6515, 79.3208) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.91
Mediumslateblue
#7B68EE
ΔE00 3.72
Lighter Purple
#A55AF4
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 5.32
Lightish Purple
#A552E6
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60E9 #BFE960
analogous
#607BE9 #8A60E9 #CF60E9
triadic
#8A60E9 #E98A60 #60E98A
tetradic
#8A60E9 #E9607B #BFE960 #60E9CF
square
#8A60E9 #E9607B #BFE960 #60E9CF
split-complementary
#8A60E9 #E9CF60 #7BE960
monochromatic
#4919B5 #622AE2 #8A60E9 #B296F0 #D9CCF8
Accessibility & contrast
On white
4.26
#8A60E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#8A60E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60E9
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60E9 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1678E6
Tritanopia (blue-blind)
#717E9B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a60e9; /* rgb */ color: rgb(138, 96, 233); /* oklch */ color: oklch(60.1% 0.198 293.7);
Tailwind
colors: {
custom: {
50: '#b28ff1',
500: '#8a60e9',
950: '#000000',
},
}SCSS
$custom: #8a60e9; $custom-light: #b28ff1; $custom-dark: #000000;
JSON
{
"hex": "#8a60e9",
"rgb": {
"r": 138,
"g": 96,
"b": 233
},
"hsl": {
"h": 258.394,
"s": 75.691,
"l": 64.51
},
"oklch": {
"l": 0.60141,
"c": 0.19809,
"h": 293.7
},
"luminance": 0.19652
}Semantic roles & 50–950 ramp
primary
#8A60E9
secondary
#DCEABB
accent
#D80E9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85