#8D56CD#8D56CD
#8D56CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.179 H 302.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56CD |
|---|---|
| RGB | rgb(141, 86, 205) |
| HSL | hsl(268, 54%, 57%) |
| HSV | hsv(268, 58%, 80%) |
| CMYK | cmyk(31.2%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(47.91, 46.27, -53.45) |
| CIE-LCH | lch(47.91, 70.69, 310.89°) |
| OKLab | oklab(57.06% 0.0959 -0.1512) |
| OKLCH | oklch(57.06% 0.179 302.4) |
| XYZ | xyz(25.3292, 16.7260, 59.6398) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 4.58
Amethyst
#9B5FC0
ΔE00 5.09
Lightish Purple
#A552E6
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 6.48
Royal Purple
#7851A9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56CD #96CD56
analogous
#565BCD #8D56CD #C956CD
triadic
#8D56CD #CD8D56 #56CD8D
tetradic
#8D56CD #CD565B #96CD56 #56CDC9
square
#8D56CD #CD565B #96CD56 #56CDC9
split-complementary
#8D56CD #CDC956 #5BCD56
monochromatic
#512682 #6E34B1 #8D56CD #AD85DB #CDB4E9
Accessibility & contrast
On white
4.83
#8D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#8D56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D56CD
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D56CD | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#816E89
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8d56cd; /* rgb */ color: rgb(141, 86, 205); /* oklch */ color: oklch(57.1% 0.179 302.4);
Tailwind
colors: {
custom: {
50: '#b288dd',
500: '#8d56cd',
950: '#000000',
},
}SCSS
$custom: #8d56cd; $custom-light: #b288dd; $custom-dark: #000000;
JSON
{
"hex": "#8d56cd",
"rgb": {
"r": 141,
"g": 86,
"b": 205
},
"hsl": {
"h": 267.731,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.57063,
"c": 0.17904,
"h": 302.4
},
"luminance": 0.16726
}Semantic roles & 50–950 ramp
primary
#8D56CD
secondary
#C1D8A7
accent
#DE4A99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83