#8A60F3#8A60F3
#8A60F3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.210 H 292.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F3 |
|---|---|
| RGB | rgb(138, 96, 243) |
| HSL | hsl(257, 86%, 66%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(43.2%, 60.5%, 0%, 4.7%) |
| CIE-LAB | lab(52.11, 50.01, -68.20) |
| CIE-LCH | lch(52.11, 84.57, 306.25°) |
| OKLab | oklab(60.84% 0.0792 -0.1947) |
| OKLCH | oklch(60.84% 0.21 292.1) |
| XYZ | xyz(30.8373, 20.2391, 87.0584) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.45
Purpley
#8756E4
ΔE00 3.66
Lighter Purple
#A55AF4
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.91
Lightish Purple
#A552E6
ΔE00 6.10
Light Indigo
#6D5ACF
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F3 #C9F360
analogous
#6080F3 #8A60F3 #D460F3
triadic
#8A60F3 #F38A60 #60F38A
tetradic
#8A60F3 #F36080 #C9F360 #60F3D4
square
#8A60F3 #F36080 #C9F360 #60F3D4
split-complementary
#8A60F3 #F3D460 #80F360
monochromatic
#440FC9 #6027EF #8A60F3 #B499F7 #DED2FC
Accessibility & contrast
On white
4.16
#8A60F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8A60F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F3
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F3 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#6C81A1
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a60f3; /* rgb */ color: rgb(138, 96, 243); /* oklch */ color: oklch(60.8% 0.210 292.1);
Tailwind
colors: {
custom: {
50: '#b38ff8',
500: '#8a60f3',
950: '#000000',
},
}SCSS
$custom: #8a60f3; $custom-light: #b38ff8; $custom-dark: #000000;
JSON
{
"hex": "#8a60f3",
"rgb": {
"r": 138,
"g": 96,
"b": 243
},
"hsl": {
"h": 257.143,
"s": 85.965,
"l": 66.471
},
"oklch": {
"l": 0.60839,
"c": 0.21018,
"h": 292.1
},
"luminance": 0.2024
}Semantic roles & 50–950 ramp
primary
#8A60F3
secondary
#E2EFC0
accent
#E203A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85