#8D56CB#8D56CB
#8D56CB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.177 H 302.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56CB |
|---|---|
| RGB | rgb(141, 86, 203) |
| HSL | hsl(268, 53%, 57%) |
| HSV | hsv(268, 58%, 80%) |
| CMYK | cmyk(30.5%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.79, 45.78, -52.49) |
| CIE-LCH | lch(47.79, 69.65, 311.09°) |
| OKLab | oklab(56.93% 0.0959 -0.1484) |
| OKLCH | oklch(56.93% 0.177 302.9) |
| XYZ | xyz(25.0893, 16.6301, 58.3765) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.16
Deep Lavender
#8D5EB7
ΔE00 4.31
Amethyst
#9B5FC0
ΔE00 4.91
Lightish Purple
#A552E6
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 6.56
Light Indigo
#6D5ACF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56CB #94CB56
analogous
#565ACB #8D56CB #C756CB
triadic
#8D56CB #CB8D56 #56CB8D
tetradic
#8D56CB #CB565A #94CB56 #56CBC7
square
#8D56CB #CB565A #94CB56 #56CBC7
split-complementary
#8D56CB #CBC756 #5ACB56
monochromatic
#51277F #6E36AE #8D56CB #AD85D9 #CCB4E8
Accessibility & contrast
On white
4.85
#8D56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8D56CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D56CB
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D56CB | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#816D88
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d56cb; /* rgb */ color: rgb(141, 86, 203); /* oklch */ color: oklch(56.9% 0.177 302.9);
Tailwind
colors: {
custom: {
50: '#b288db',
500: '#8d56cb',
950: '#000000',
},
}SCSS
$custom: #8d56cb; $custom-light: #b288db; $custom-dark: #000000;
JSON
{
"hex": "#8d56cb",
"rgb": {
"r": 141,
"g": 86,
"b": 203
},
"hsl": {
"h": 268.205,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.56934,
"c": 0.17668,
"h": 302.9
},
"luminance": 0.1663
}Semantic roles & 50–950 ramp
primary
#8D56CB
secondary
#C0D6A6
accent
#DC4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83