#8D5CD4#8D5CD4
#8D5CD4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.179 H 299.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CD4 |
|---|---|
| RGB | rgb(141, 92, 212) |
| HSL | hsl(265, 58%, 60%) |
| HSV | hsv(265, 57%, 83%) |
| CMYK | cmyk(33.5%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(49.58, 44.75, -54.77) |
| CIE-LCH | lch(49.58, 70.73, 309.25°) |
| OKLab | oklab(58.42% 0.0885 -0.1551) |
| OKLCH | oklch(58.42% 0.179 299.7) |
| XYZ | xyz(26.6924, 18.0703, 64.3562) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.13
Lightish Purple
#A552E6
ΔE00 4.91
Deep Lavender
#8D5EB7
ΔE00 5.18
Amethyst
#9B5FC0
ΔE00 5.29
Lighter Purple
#A55AF4
ΔE00 5.87
Mediumpurple
#9370DB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CD4 #A3D45C
analogous
#5C67D4 #8D5CD4 #C95CD4
triadic
#8D5CD4 #D48D5C #5CD48D
tetradic
#8D5CD4 #D45C67 #A3D45C #5CD4C9
square
#8D5CD4 #D45C67 #A3D45C #5CD4C9
split-complementary
#8D5CD4 #D4C95C #67D45C
monochromatic
#512690 #6C33C0 #8D5CD4 #AF8CE1 #D1BDEE
Accessibility & contrast
On white
4.55
#8D5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#8D5CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CD4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CD4 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2576D8
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#7E748F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d5cd4; /* rgb */ color: rgb(141, 92, 212); /* oklch */ color: oklch(58.4% 0.179 299.7);
Tailwind
colors: {
custom: {
50: '#b28ce2',
500: '#8d5cd4',
950: '#000000',
},
}SCSS
$custom: #8d5cd4; $custom-light: #b28ce2; $custom-dark: #000000;
JSON
{
"hex": "#8d5cd4",
"rgb": {
"r": 141,
"g": 92,
"b": 212
},
"hsl": {
"h": 264.5,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.58424,
"c": 0.17857,
"h": 299.7
},
"luminance": 0.1807
}Semantic roles & 50–950 ramp
primary
#8D5CD4
secondary
#CADDAF
accent
#E146A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83