#8A60F4#8A60F4
#8A60F4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.211 H 292.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F4 |
|---|---|
| RGB | rgb(138, 96, 244) |
| HSL | hsl(257, 87%, 67%) |
| HSV | hsv(257, 61%, 96%) |
| CMYK | cmyk(43.4%, 60.7%, 0%, 4.3%) |
| CIE-LAB | lab(52.17, 50.28, -68.65) |
| CIE-LCH | lch(52.17, 85.09, 306.22°) |
| OKLab | oklab(60.91% 0.0792 -0.196) |
| OKLCH | oklch(60.91% 0.211 292) |
| XYZ | xyz(30.9887, 20.2997, 87.8559) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.45
Purpley
#8756E4
ΔE00 3.76
Lighter Purple
#A55AF4
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 5.98
Lightish Purple
#A552E6
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F4 #CAF460
analogous
#6080F4 #8A60F4 #D460F4
triadic
#8A60F4 #F48A60 #60F48A
tetradic
#8A60F4 #F46080 #CAF460 #60F4D4
square
#8A60F4 #F46080 #CAF460 #60F4D4
split-complementary
#8A60F4 #F4D460 #80F460
monochromatic
#440ECC #6027F0 #8A60F4 #B499F8 #DED2FC
Accessibility & contrast
On white
4.15
#8A60F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#8A60F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F4 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#6B82A1
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a60f4; /* rgb */ color: rgb(138, 96, 244); /* oklch */ color: oklch(60.9% 0.211 292.0);
Tailwind
colors: {
custom: {
50: '#b38ff9',
500: '#8a60f4',
950: '#000000',
},
}SCSS
$custom: #8a60f4; $custom-light: #b38ff9; $custom-dark: #000000;
JSON
{
"hex": "#8a60f4",
"rgb": {
"r": 138,
"g": 96,
"b": 244
},
"hsl": {
"h": 257.027,
"s": 87.059,
"l": 66.667
},
"oklch": {
"l": 0.6091,
"c": 0.21138,
"h": 292
},
"luminance": 0.20301
}Semantic roles & 50–950 ramp
primary
#8A60F4
secondary
#E2F0C0
accent
#E402A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85