#8D4DC8#8D4DC8
#8D4DC8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.186 H 305.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4DC8 |
|---|---|
| RGB | rgb(141, 77, 200) |
| HSL | hsl(271, 53%, 54%) |
| HSV | hsv(271, 62%, 78%) |
| CMYK | cmyk(29.5%, 61.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.83, 49.81, -53.92) |
| CIE-LCH | lch(45.83, 73.40, 312.73°) |
| OKLab | oklab(55.44% 0.107 -0.1525) |
| OKLCH | oklch(55.44% 0.186 305) |
| XYZ | xyz(24.0614, 15.1407, 56.2872) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.95
Purpley
#8756E4
ΔE00 5.24
Purply
#983FB2
ΔE00 5.51
Deep Lavender
#8D5EB7
ΔE00 5.54
Royal Purple
#7851A9
ΔE00 6.03
Amethyst
#9B5FC0
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4DC8 #88C84D
analogous
#504DC8 #8D4DC8 #C84DC5
triadic
#8D4DC8 #C88D4D #4DC88D
tetradic
#8D4DC8 #C8504D #88C84D #4DC5C8
square
#8D4DC8 #C8504D #88C84D #4DC5C8
split-complementary
#8D4DC8 #C5C84D #4DC850
monochromatic
#4F2476 #6E33A5 #8D4DC8 #AB7CD6 #C9ABE5
Accessibility & contrast
On white
5.21
#8D4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8D4DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4DC8
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4DC8 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#836683
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8d4dc8; /* rgb */ color: rgb(141, 77, 200); /* oklch */ color: oklch(55.4% 0.186 305.0);
Tailwind
colors: {
custom: {
50: '#b282d9',
500: '#8d4dc8',
950: '#000000',
},
}SCSS
$custom: #8d4dc8; $custom-light: #b282d9; $custom-dark: #000000;
JSON
{
"hex": "#8d4dc8",
"rgb": {
"r": 141,
"g": 77,
"b": 200
},
"hsl": {
"h": 271.22,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.55442,
"c": 0.18633,
"h": 305
},
"luminance": 0.15141
}Semantic roles & 50–950 ramp
primary
#8D4DC8
secondary
#B7D29E
accent
#DC4C91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83