#8D4DCC#8D4DCC
#8D4DCC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.191 H 304.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4DCC |
|---|---|
| RGB | rgb(141, 77, 204) |
| HSL | hsl(270, 55%, 55%) |
| HSV | hsv(270, 62%, 80%) |
| CMYK | cmyk(30.9%, 62.3%, 0%, 20%) |
| CIE-LAB | lab(46.08, 50.76, -55.81) |
| CIE-LCH | lch(46.08, 75.44, 312.29°) |
| OKLab | oklab(55.71% 0.1068 -0.1581) |
| OKLCH | oklch(55.71% 0.191 304) |
| XYZ | xyz(24.5350, 15.3302, 58.7815) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.67
Darkorchid
#9932CC
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 5.88
Lightish Purple
#A552E6
ΔE00 5.96
Purply
#983FB2
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4DCC #8CCC4D
analogous
#4D4DCC #8D4DCC #CC4DCC
triadic
#8D4DCC #CC8D4D #4DCC8D
tetradic
#8D4DCC #CC4D4D #8CCC4D #4DCCCC
square
#8D4DCC #CC4D4D #8CCC4D #4DCCCC
split-complementary
#8D4DCC #CCCC4D #4DCC4D
monochromatic
#50237B #6E31AB #8D4DCC #AB7DDA #CAACE7
Accessibility & contrast
On white
5.16
#8D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8D4DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4DCC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4DCC | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#816885
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d4dcc; /* rgb */ color: rgb(141, 77, 204); /* oklch */ color: oklch(55.7% 0.191 304.0);
Tailwind
colors: {
custom: {
50: '#b282dc',
500: '#8d4dcc',
950: '#000000',
},
}SCSS
$custom: #8d4dcc; $custom-light: #b282dc; $custom-dark: #000000;
JSON
{
"hex": "#8d4dcc",
"rgb": {
"r": 141,
"g": 77,
"b": 204
},
"hsl": {
"h": 270.236,
"s": 55.459,
"l": 55.098
},
"oklch": {
"l": 0.5571,
"c": 0.19081,
"h": 304
},
"luminance": 0.1533
}Semantic roles & 50–950 ramp
primary
#8D4DCC
secondary
#BAD5A0
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83