#8D4EC0#8D4EC0
#8D4EC0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.176 H 307.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4EC0 |
|---|---|
| RGB | rgb(141, 78, 192) |
| HSL | hsl(273, 48%, 53%) |
| HSV | hsv(273, 59%, 75%) |
| CMYK | cmyk(26.6%, 59.4%, 0%, 24.7%) |
| CIE-LAB | lab(45.52, 47.40, -49.77) |
| CIE-LCH | lch(45.52, 68.73, 313.60°) |
| OKLab | oklab(55.06% 0.1059 -0.1404) |
| OKLCH | oklch(55.06% 0.176 307) |
| XYZ | xyz(23.2213, 14.9175, 51.5150) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 4.76
Royal Purple
#7851A9
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.28
Amethyst
#9B5FC0
ΔE00 5.78
Purpley
#8756E4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4EC0 #81C04E
analogous
#544EC0 #8D4EC0 #C04EBA
triadic
#8D4EC0 #C08D4E #4EC08D
tetradic
#8D4EC0 #C0544E #81C04E #4EBAC0
square
#8D4EC0 #C0544E #81C04E #4EBAC0
split-complementary
#8D4EC0 #BAC04E #4EC054
monochromatic
#4D276D #6E379A #8D4EC0 #AA7BD0 #C7A8E0
Accessibility & contrast
On white
5.27
#8D4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8D4EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4EC0
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4EC0 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#856480
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8d4ec0; /* rgb */ color: rgb(141, 78, 192); /* oklch */ color: oklch(55.1% 0.176 307.0);
Tailwind
colors: {
custom: {
50: '#b282d4',
500: '#8d4ec0',
950: '#000000',
},
}SCSS
$custom: #8d4ec0; $custom-light: #b282d4; $custom-dark: #000000;
JSON
{
"hex": "#8d4ec0",
"rgb": {
"r": 141,
"g": 78,
"b": 192
},
"hsl": {
"h": 273.158,
"s": 47.5,
"l": 52.941
},
"oklch": {
"l": 0.5506,
"c": 0.17587,
"h": 307
},
"luminance": 0.14917
}Semantic roles & 50–950 ramp
primary
#8D4EC0
secondary
#B2CE9C
accent
#D7518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83