#8D5CD3#8D5CD3
#8D5CD3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.177 H 299.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CD3 |
|---|---|
| RGB | rgb(141, 92, 211) |
| HSL | hsl(265, 57%, 59%) |
| HSV | hsv(265, 56%, 83%) |
| CMYK | cmyk(33.2%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(49.52, 44.50, -54.30) |
| CIE-LCH | lch(49.52, 70.21, 309.34°) |
| OKLab | oklab(58.36% 0.0885 -0.1537) |
| OKLCH | oklch(58.36% 0.177 299.9) |
| XYZ | xyz(26.5667, 18.0200, 63.6939) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Lightish Purple
#A552E6
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 5.02
Amethyst
#9B5FC0
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 5.98
Mediumpurple
#9370DB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CD3 #A2D35C
analogous
#5C67D3 #8D5CD3 #C95CD3
triadic
#8D5CD3 #D38D5C #5CD38D
tetradic
#8D5CD3 #D35C67 #A2D35C #5CD3C9
square
#8D5CD3 #D35C67 #A2D35C #5CD3C9
split-complementary
#8D5CD3 #D3C95C #67D35C
monochromatic
#51268E #6D33BE #8D5CD3 #AF8CE0 #D0BCED
Accessibility & contrast
On white
4.56
#8D5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#8D5CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CD3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CD3 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2675D7
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#7E748F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d5cd3; /* rgb */ color: rgb(141, 92, 211); /* oklch */ color: oklch(58.4% 0.177 299.9);
Tailwind
colors: {
custom: {
50: '#b28ce1',
500: '#8d5cd3',
950: '#000000',
},
}SCSS
$custom: #8d5cd3; $custom-light: #b28ce1; $custom-dark: #000000;
JSON
{
"hex": "#8d5cd3",
"rgb": {
"r": 141,
"g": 92,
"b": 211
},
"hsl": {
"h": 264.706,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.5836,
"c": 0.17736,
"h": 299.9
},
"luminance": 0.1802
}Semantic roles & 50–950 ramp
primary
#8D5CD3
secondary
#C9DDAE
accent
#E147A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83