#8D4DCD#8D4DCD
#8D4DCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.192 H 303.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4DCD |
|---|---|
| RGB | rgb(141, 77, 205) |
| HSL | hsl(270, 56%, 55%) |
| HSV | hsv(270, 62%, 80%) |
| CMYK | cmyk(31.2%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.15, 51.00, -56.28) |
| CIE-LCH | lch(46.15, 75.95, 312.18°) |
| OKLab | oklab(55.78% 0.1068 -0.1595) |
| OKLCH | oklch(55.78% 0.192 303.8) |
| XYZ | xyz(24.6553, 15.3783, 59.4152) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 5.05
Lightish Purple
#A552E6
ΔE00 5.88
Deep Lavender
#8D5EB7
ΔE00 5.97
Purply
#983FB2
ΔE00 6.15
Blueviolet
#8A2BE2
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4DCD #8DCD4D
analogous
#4D4DCD #8D4DCD #CD4DCD
triadic
#8D4DCD #CD8D4D #4DCD8D
tetradic
#8D4DCD #CD4D4D #8DCD4D #4DCDCD
square
#8D4DCD #CD4D4D #8DCD4D #4DCDCD
split-complementary
#8D4DCD #CDCD4D #4DCD4D
monochromatic
#50237D #6E30AC #8D4DCD #AC7DDA #CAADE8
Accessibility & contrast
On white
5.15
#8D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8D4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4DCD
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4DCD | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#816886
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d4dcd; /* rgb */ color: rgb(141, 77, 205); /* oklch */ color: oklch(55.8% 0.192 303.8);
Tailwind
colors: {
custom: {
50: '#b382dd',
500: '#8d4dcd',
950: '#000000',
},
}SCSS
$custom: #8d4dcd; $custom-light: #b382dd; $custom-dark: #000000;
JSON
{
"hex": "#8d4dcd",
"rgb": {
"r": 141,
"g": 77,
"b": 205
},
"hsl": {
"h": 270,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.55778,
"c": 0.19193,
"h": 303.8
},
"luminance": 0.15378
}Semantic roles & 50–950 ramp
primary
#8D4DCD
secondary
#BBD6A0
accent
#DF4894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83