#8D4EC6#8D4EC6
#8D4EC6 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.183 H 305.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4EC6 |
|---|---|
| RGB | rgb(141, 78, 198) |
| HSL | hsl(272, 51%, 54%) |
| HSV | hsv(272, 61%, 78%) |
| CMYK | cmyk(28.8%, 60.6%, 0%, 22.4%) |
| CIE-LAB | lab(45.89, 48.81, -52.66) |
| CIE-LCH | lch(45.89, 71.80, 312.83°) |
| OKLab | oklab(55.45% 0.1059 -0.1488) |
| OKLCH | oklch(55.45% 0.183 305.4) |
| XYZ | xyz(23.8997, 15.1889, 55.0878) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.16
Deep Lavender
#8D5EB7
ΔE00 5.18
Purply
#983FB2
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.43
Royal Purple
#7851A9
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4EC6 #87C64E
analogous
#514EC6 #8D4EC6 #C64EC3
triadic
#8D4EC6 #C68D4E #4EC68D
tetradic
#8D4EC6 #C6514E #87C64E #4EC3C6
square
#8D4EC6 #C6514E #87C64E #4EC3C6
split-complementary
#8D4EC6 #C3C64E #4EC651
monochromatic
#4F2574 #6E34A2 #8D4EC6 #AB7CD5 #C9ABE4
Accessibility & contrast
On white
5.20
#8D4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8D4EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4EC6
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4EC6 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#106BCA
Deuteranopia (green-blind)
#346DC3
Tritanopia (blue-blind)
#836683
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d4ec6; /* rgb */ color: rgb(141, 78, 198); /* oklch */ color: oklch(55.4% 0.183 305.4);
Tailwind
colors: {
custom: {
50: '#b283d8',
500: '#8d4ec6',
950: '#000000',
},
}SCSS
$custom: #8d4ec6; $custom-light: #b283d8; $custom-dark: #000000;
JSON
{
"hex": "#8d4ec6",
"rgb": {
"r": 141,
"g": 78,
"b": 198
},
"hsl": {
"h": 271.5,
"s": 51.282,
"l": 54.118
},
"oklch": {
"l": 0.55449,
"c": 0.18265,
"h": 305.4
},
"luminance": 0.15189
}Semantic roles & 50–950 ramp
primary
#8D4EC6
secondary
#B7D19E
accent
#DB4D90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83