#8A60F8#8A60F8
#8A60F8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.216 H 291.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F8 |
|---|---|
| RGB | rgb(138, 96, 248) |
| HSL | hsl(257, 92%, 67%) |
| HSV | hsv(257, 61%, 97%) |
| CMYK | cmyk(44.4%, 61.3%, 0%, 2.7%) |
| CIE-LAB | lab(52.45, 51.35, -70.44) |
| CIE-LCH | lch(52.45, 87.17, 306.10°) |
| OKLab | oklab(61.2% 0.0789 -0.2012) |
| OKLCH | oklch(61.2% 0.216 291.4) |
| XYZ | xyz(31.6027, 20.5453, 91.0893) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.52
Purpley
#8756E4
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 4.87
Mediumpurple
#9370DB
ΔE00 6.27
Lightish Purple
#A552E6
ΔE00 6.39
Light Indigo
#6D5ACF
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F8 #CEF860
analogous
#6082F8 #8A60F8 #D660F8
triadic
#8A60F8 #F88A60 #60F88A
tetradic
#8A60F8 #F86082 #CEF860 #60F8D6
square
#8A60F8 #F86082 #CEF860 #60F8D6
split-complementary
#8A60F8 #F8D660 #82F860
monochromatic
#4109D4 #5F25F5 #8A60F8 #B59BFB #E0D5FD
Accessibility & contrast
On white
4.11
#8A60F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8A60F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F8
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F8 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#6983A3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a60f8; /* rgb */ color: rgb(138, 96, 248); /* oklch */ color: oklch(61.2% 0.216 291.4);
Tailwind
colors: {
custom: {
50: '#b38ffb',
500: '#8a60f8',
950: '#000000',
},
}SCSS
$custom: #8a60f8; $custom-light: #b38ffb; $custom-dark: #000000;
JSON
{
"hex": "#8a60f8",
"rgb": {
"r": 138,
"g": 96,
"b": 248
},
"hsl": {
"h": 256.579,
"s": 91.566,
"l": 67.451
},
"oklch": {
"l": 0.61196,
"c": 0.21616,
"h": 291.4
},
"luminance": 0.20546
}Semantic roles & 50–950 ramp
primary
#8A60F8
secondary
#E5F2C2
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86