#8E60F2#8E60F2
#8E60F2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.209 H 293.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8E60F2 |
|---|---|
| RGB | rgb(142, 96, 242) |
| HSL | hsl(259, 85%, 66%) |
| HSV | hsv(259, 60%, 95%) |
| CMYK | cmyk(41.3%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(52.43, 50.56, -67.11) |
| CIE-LCH | lch(52.43, 84.02, 306.99°) |
| OKLab | oklab(61.14% 0.0845 -0.1913) |
| OKLCH | oklch(61.14% 0.209 293.8) |
| XYZ | xyz(31.3609, 20.5265, 86.2969) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.75
Mediumslateblue
#7B68EE
ΔE00 4.00
Lighter Purple
#A55AF4
ΔE00 4.11
Lightish Purple
#A552E6
ΔE00 5.50
Mediumpurple
#9370DB
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E60F2 #C4F260
analogous
#607BF2 #8E60F2 #D760F2
triadic
#8E60F2 #F28E60 #60F28E
tetradic
#8E60F2 #F2607B #C4F260 #60F2D7
square
#8E60F2 #F2607B #C4F260 #60F2D7
split-complementary
#8E60F2 #F2D760 #7BF260
monochromatic
#4A10C7 #6627ED #8E60F2 #B699F7 #DED1FB
Accessibility & contrast
On white
4.11
#8E60F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8E60F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E60F2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E60F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E60F2 | 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)
#007FF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#7381A0
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e60f2; /* rgb */ color: rgb(142, 96, 242); /* oklch */ color: oklch(61.1% 0.209 293.8);
Tailwind
colors: {
custom: {
50: '#b58ff7',
500: '#8e60f2',
950: '#000000',
},
}SCSS
$custom: #8e60f2; $custom-light: #b58ff7; $custom-dark: #000000;
JSON
{
"hex": "#8e60f2",
"rgb": {
"r": 142,
"g": 96,
"b": 242
},
"hsl": {
"h": 258.904,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.61143,
"c": 0.20913,
"h": 293.8
},
"luminance": 0.20527
}Semantic roles & 50–950 ramp
primary
#8E60F2
secondary
#E0EFBF
accent
#E1049C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85