#8D4CD0#8D4CD0
#8D4CD0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.197 H 303.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CD0 |
|---|---|
| RGB | rgb(141, 76, 208) |
| HSL | hsl(270, 58%, 56%) |
| HSV | hsv(270, 63%, 82%) |
| CMYK | cmyk(32.2%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(46.16, 52.23, -57.99) |
| CIE-LCH | lch(46.16, 78.04, 312.01°) |
| OKLab | oklab(55.85% 0.1077 -0.1645) |
| OKLCH | oklch(55.85% 0.197 303.2) |
| XYZ | xyz(24.9515, 15.3857, 61.3175) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 4.96
Lightish Purple
#A552E6
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 6.05
Deep Lavender
#8D5EB7
ΔE00 6.42
Purply
#983FB2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CD0 #8FD04C
analogous
#4C4DD0 #8D4CD0 #CF4CD0
triadic
#8D4CD0 #D08D4C #4CD08D
tetradic
#8D4CD0 #D04C4D #8FD04C #4CD0CF
square
#8D4CD0 #D04C4D #8FD04C #4CD0CF
split-complementary
#8D4CD0 #D0CF4C #4DD04C
monochromatic
#502280 #6E2EB0 #8D4CD0 #AC7CDD #CBADE9
Accessibility & contrast
On white
5.15
#8D4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8D4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CD0
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CD0 | 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)
#006CD4
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#806887
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d4cd0; /* rgb */ color: rgb(141, 76, 208); /* oklch */ color: oklch(55.8% 0.197 303.2);
Tailwind
colors: {
custom: {
50: '#b382df',
500: '#8d4cd0',
950: '#000000',
},
}SCSS
$custom: #8d4cd0; $custom-light: #b382df; $custom-dark: #000000;
JSON
{
"hex": "#8d4cd0",
"rgb": {
"r": 141,
"g": 76,
"b": 208
},
"hsl": {
"h": 269.545,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.55848,
"c": 0.19665,
"h": 303.2
},
"luminance": 0.15386
}Semantic roles & 50–950 ramp
primary
#8D4CD0
secondary
#BCD7A0
accent
#E24695
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83