#8A60E6#8A60E6
#8A60E6 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.194 H 294.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60E6 |
|---|---|
| RGB | rgb(138, 96, 230) |
| HSL | hsl(259, 73%, 64%) |
| HSV | hsv(259, 58%, 90%) |
| CMYK | cmyk(40%, 58.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.25, 46.53, -62.31) |
| CIE-LCH | lch(51.25, 77.77, 306.75°) |
| OKLab | oklab(59.94% 0.0797 -0.1773) |
| OKLCH | oklch(59.94% 0.194 294.2) |
| XYZ | xyz(28.9432, 19.4815, 77.0829) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Mediumslateblue
#7B68EE
ΔE00 3.90
Lighter Purple
#A55AF4
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 5.19
Lightish Purple
#A552E6
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60E6 #BCE660
analogous
#6079E6 #8A60E6 #CD60E6
triadic
#8A60E6 #E68A60 #60E68A
tetradic
#8A60E6 #E66079 #BCE660 #60E6CD
square
#8A60E6 #E66079 #BCE660 #60E6CD
split-complementary
#8A60E6 #E6CD60 #79E660
monochromatic
#4A1CB0 #632BDE #8A60E6 #B195EE #D8CAF7
Accessibility & contrast
On white
4.29
#8A60E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8A60E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60E6
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60E6 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#1F78E3
Tritanopia (blue-blind)
#727D9A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a60e6; /* rgb */ color: rgb(138, 96, 230); /* oklch */ color: oklch(59.9% 0.194 294.2);
Tailwind
colors: {
custom: {
50: '#b28fef',
500: '#8a60e6',
950: '#000000',
},
}SCSS
$custom: #8a60e6; $custom-light: #b28fef; $custom-dark: #000000;
JSON
{
"hex": "#8a60e6",
"rgb": {
"r": 138,
"g": 96,
"b": 230
},
"hsl": {
"h": 258.806,
"s": 72.826,
"l": 63.922
},
"oklch": {
"l": 0.59936,
"c": 0.19443,
"h": 294.2
},
"luminance": 0.19482
}Semantic roles & 50–950 ramp
primary
#8A60E6
secondary
#DAE8B9
accent
#D51197
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84