#8A60F1#8A60F1
#8A60F1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.208 H 292.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F1 |
|---|---|
| RGB | rgb(138, 96, 241) |
| HSL | hsl(257, 84%, 66%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(42.7%, 60.2%, 0%, 5.5%) |
| CIE-LAB | lab(51.97, 49.47, -67.31) |
| CIE-LCH | lch(51.97, 83.53, 306.32°) |
| OKLab | oklab(60.7% 0.0793 -0.192) |
| OKLCH | oklch(60.7% 0.208 292.4) |
| XYZ | xyz(30.5369, 20.1190, 85.4764) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.46
Purpley
#8756E4
ΔE00 3.48
Lighter Purple
#A55AF4
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.78
Lightish Purple
#A552E6
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F1 #C7F160
analogous
#607EF1 #8A60F1 #D260F1
triadic
#8A60F1 #F18A60 #60F18A
tetradic
#8A60F1 #F1607E #C7F160 #60F1D2
square
#8A60F1 #F1607E #C7F160 #60F1D2
split-complementary
#8A60F1 #F1D260 #7EF160
monochromatic
#4511C5 #6128EC #8A60F1 #B398F6 #DDD0FB
Accessibility & contrast
On white
4.18
#8A60F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8A60F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F1
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F1 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#6D81A0
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a60f1; /* rgb */ color: rgb(138, 96, 241); /* oklch */ color: oklch(60.7% 0.208 292.4);
Tailwind
colors: {
custom: {
50: '#b38ff6',
500: '#8a60f1',
950: '#000000',
},
}SCSS
$custom: #8a60f1; $custom-light: #b38ff6; $custom-dark: #000000;
JSON
{
"hex": "#8a60f1",
"rgb": {
"r": 138,
"g": 96,
"b": 241
},
"hsl": {
"h": 257.379,
"s": 83.815,
"l": 66.078
},
"oklch": {
"l": 0.60698,
"c": 0.20777,
"h": 292.4
},
"luminance": 0.2012
}Semantic roles & 50–950 ramp
primary
#8A60F1
secondary
#E0EEBF
accent
#E005A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85