#8A60F6#8A60F6
#8A60F6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.214 H 291.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F6 |
|---|---|
| RGB | rgb(138, 96, 246) |
| HSL | hsl(257, 89%, 67%) |
| HSV | hsv(257, 61%, 96%) |
| CMYK | cmyk(43.9%, 61%, 0%, 3.5%) |
| CIE-LAB | lab(52.31, 50.82, -69.55) |
| CIE-LCH | lch(52.31, 86.13, 306.15°) |
| OKLab | oklab(61.05% 0.0791 -0.1986) |
| OKLCH | oklch(61.05% 0.214 291.7) |
| XYZ | xyz(31.2940, 20.4218, 89.4639) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.95
Lighter Purple
#A55AF4
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 6.12
Lightish Purple
#A552E6
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F6 #CCF660
analogous
#6081F6 #8A60F6 #D560F6
triadic
#8A60F6 #F68A60 #60F68A
tetradic
#8A60F6 #F66081 #CCF660 #60F6D5
square
#8A60F6 #F66081 #CCF660 #60F6D5
split-complementary
#8A60F6 #F6D560 #81F660
monochromatic
#430CD0 #5F26F3 #8A60F6 #B59AF9 #DFD4FD
Accessibility & contrast
On white
4.13
#8A60F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#8A60F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F6
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F6 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#6A82A2
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a60f6; /* rgb */ color: rgb(138, 96, 246); /* oklch */ color: oklch(61.1% 0.214 291.7);
Tailwind
colors: {
custom: {
50: '#b38ffa',
500: '#8a60f6',
950: '#000000',
},
}SCSS
$custom: #8a60f6; $custom-light: #b38ffa; $custom-dark: #000000;
JSON
{
"hex": "#8a60f6",
"rgb": {
"r": 138,
"g": 96,
"b": 246
},
"hsl": {
"h": 256.8,
"s": 89.286,
"l": 67.059
},
"oklch": {
"l": 0.61052,
"c": 0.21377,
"h": 291.7
},
"luminance": 0.20423
}Semantic roles & 50–950 ramp
primary
#8A60F6
secondary
#E3F1C1
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85