#8D60E7#8D60E7
#8D60E7 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.196 H 295.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8D60E7 |
|---|---|
| RGB | rgb(141, 96, 231) |
| HSL | hsl(260, 74%, 64%) |
| HSV | hsv(260, 58%, 91%) |
| CMYK | cmyk(39%, 58.4%, 0%, 9.4%) |
| CIE-LAB | lab(51.61, 47.45, -62.27) |
| CIE-LCH | lch(51.61, 78.29, 307.31°) |
| OKLab | oklab(60.29% 0.0836 -0.1771) |
| OKLCH | oklch(60.29% 0.196 295.3) |
| XYZ | xyz(29.5874, 19.7974, 77.8482) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 4.44
Mediumpurple
#9370DB
ΔE00 5.01
Lightish Purple
#A552E6
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D60E7 #BAE760
analogous
#6077E7 #8D60E7 #D160E7
triadic
#8D60E7 #E78D60 #60E78D
tetradic
#8D60E7 #E76077 #BAE760 #60E7D1
square
#8D60E7 #E76077 #BAE760 #60E7D1
split-complementary
#8D60E7 #E7D160 #77E760
monochromatic
#4D1BB2 #672BDF #8D60E7 #B395EF #D9CAF7
Accessibility & contrast
On white
4.23
#8D60E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#8D60E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D60E7
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D60E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D60E7 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#767D9A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8d60e7; /* rgb */ color: rgb(141, 96, 231); /* oklch */ color: oklch(60.3% 0.196 295.3);
Tailwind
colors: {
custom: {
50: '#b48fef',
500: '#8d60e7',
950: '#000000',
},
}SCSS
$custom: #8d60e7; $custom-light: #b48fef; $custom-dark: #000000;
JSON
{
"hex": "#8d60e7",
"rgb": {
"r": 141,
"g": 96,
"b": 231
},
"hsl": {
"h": 260,
"s": 73.77,
"l": 64.118
},
"oklch": {
"l": 0.60291,
"c": 0.19587,
"h": 295.3
},
"luminance": 0.19798
}Semantic roles & 50–950 ramp
primary
#8D60E7
secondary
#D9E9BA
accent
#D61094
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85