#8D60C5#8D60C5
#8D60C5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.1% C 0.154 H 302.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D60C5 |
|---|---|
| RGB | rgb(141, 96, 197) |
| HSL | hsl(267, 47%, 57%) |
| HSV | hsv(267, 51%, 77%) |
| CMYK | cmyk(28.4%, 51.3%, 0%, 22.7%) |
| CIE-LAB | lab(49.57, 38.77, -46.20) |
| CIE-LCH | lch(49.57, 60.31, 310.00°) |
| OKLab | oklab(58.13% 0.0826 -0.13) |
| OKLCH | oklch(58.13% 0.154 302.4) |
| XYZ | xyz(25.2432, 18.0597, 54.9685) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.68
Amethyst
#9B5FC0
ΔE00 3.48
Deep Lilac
#966EBD
ΔE00 5.39
Purpley
#8756E4
ΔE00 5.79
Mediumpurple
#9370DB
ΔE00 5.93
Lightish Purple
#A552E6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D60C5 #98C560
analogous
#6065C5 #8D60C5 #C060C5
triadic
#8D60C5 #C58D60 #60C58D
tetradic
#8D60C5 #C56065 #98C560 #60C5C0
square
#8D60C5 #C56065 #98C560 #60C5C0
split-complementary
#8D60C5 #C5C060 #65C560
monochromatic
#512E7D #6E3EAA #8D60C5 #AD8DD5 #CDBAE6
Accessibility & contrast
On white
4.55
#8D60C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#8D60C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D60C5
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D60C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D60C5 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F75C8
Deuteranopia (green-blind)
#4B76C3
Tritanopia (blue-blind)
#837389
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d60c5; /* rgb */ color: rgb(141, 96, 197); /* oklch */ color: oklch(58.1% 0.154 302.4);
Tailwind
colors: {
custom: {
50: '#b18ed7',
500: '#8d60c5',
950: '#000000',
},
}SCSS
$custom: #8d60c5; $custom-light: #b18ed7; $custom-dark: #000000;
JSON
{
"hex": "#8d60c5",
"rgb": {
"r": 141,
"g": 96,
"b": 197
},
"hsl": {
"h": 266.733,
"s": 46.544,
"l": 57.451
},
"oklch": {
"l": 0.58133,
"c": 0.15403,
"h": 302.4
},
"luminance": 0.1806
}Semantic roles & 50–950 ramp
primary
#8D60C5
secondary
#C3D5AC
accent
#D6529B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83