#8D4CD1#8D4CD1
#8D4CD1 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.198 H 303.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CD1 |
|---|---|
| RGB | rgb(141, 76, 209) |
| HSL | hsl(269, 59%, 56%) |
| HSV | hsv(269, 64%, 82%) |
| CMYK | cmyk(32.5%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(46.22, 52.47, -58.46) |
| CIE-LCH | lch(46.22, 78.55, 311.91°) |
| OKLab | oklab(55.92% 0.1077 -0.1659) |
| OKLCH | oklch(55.92% 0.198 303) |
| XYZ | xyz(25.0749, 15.4351, 61.9675) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.14
Darkorchid
#9932CC
ΔE00 5.01
Lightish Purple
#A552E6
ΔE00 5.69
Blueviolet
#8A2BE2
ΔE00 6.01
Deep Lavender
#8D5EB7
ΔE00 6.51
Purply
#983FB2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CD1 #90D14C
analogous
#4C4DD1 #8D4CD1 #CF4CD1
triadic
#8D4CD1 #D18D4C #4CD18D
tetradic
#8D4CD1 #D14C4D #90D14C #4CD1CF
square
#8D4CD1 #D14C4D #90D14C #4CD1CF
split-complementary
#8D4CD1 #D1CF4C #4DD14C
monochromatic
#502181 #6E2EB2 #8D4CD1 #AC7DDE #CBADEA
Accessibility & contrast
On white
5.14
#8D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8D4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CD1
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CD1 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#206DCE
Tritanopia (blue-blind)
#806988
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d4cd1; /* rgb */ color: rgb(141, 76, 209); /* oklch */ color: oklch(55.9% 0.198 303.0);
Tailwind
colors: {
custom: {
50: '#b382e0',
500: '#8d4cd1',
950: '#000000',
},
}SCSS
$custom: #8d4cd1; $custom-light: #b382e0; $custom-dark: #000000;
JSON
{
"hex": "#8d4cd1",
"rgb": {
"r": 141,
"g": 76,
"b": 209
},
"hsl": {
"h": 269.323,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.55917,
"c": 0.19776,
"h": 303
},
"luminance": 0.15435
}Semantic roles & 50–950 ramp
primary
#8D4CD1
secondary
#BDD8A1
accent
#E24696
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83