#8A60F2#8A60F2
#8A60F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.209 H 292.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60F2 |
|---|---|
| RGB | rgb(138, 96, 242) |
| HSL | hsl(257, 85%, 66%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(43%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(52.04, 49.74, -67.76) |
| CIE-LCH | lch(52.04, 84.05, 306.28°) |
| OKLab | oklab(60.77% 0.0793 -0.1933) |
| OKLCH | oklch(60.77% 0.209 292.3) |
| XYZ | xyz(30.6867, 20.1789, 86.2653) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.45
Purpley
#8756E4
ΔE00 3.57
Lighter Purple
#A55AF4
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.85
Lightish Purple
#A552E6
ΔE00 6.04
Light Indigo
#6D5ACF
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60F2 #C8F260
analogous
#607FF2 #8A60F2 #D360F2
triadic
#8A60F2 #F28A60 #60F28A
tetradic
#8A60F2 #F2607F #C8F260 #60F2D3
square
#8A60F2 #F2607F #C8F260 #60F2D3
split-complementary
#8A60F2 #F2D360 #7FF260
monochromatic
#4510C7 #6027ED #8A60F2 #B499F7 #DDD1FB
Accessibility & contrast
On white
4.17
#8A60F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A60F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60F2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60F2 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6C81A0
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a60f2; /* rgb */ color: rgb(138, 96, 242); /* oklch */ color: oklch(60.8% 0.209 292.3);
Tailwind
colors: {
custom: {
50: '#b38ff7',
500: '#8a60f2',
950: '#000000',
},
}SCSS
$custom: #8a60f2; $custom-light: #b38ff7; $custom-dark: #000000;
JSON
{
"hex": "#8a60f2",
"rgb": {
"r": 138,
"g": 96,
"b": 242
},
"hsl": {
"h": 257.26,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.60768,
"c": 0.20897,
"h": 292.3
},
"luminance": 0.2018
}Semantic roles & 50–950 ramp
primary
#8A60F2
secondary
#E1EFBF
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85