#8D56C8#8D56C8
#8D56C8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.173 H 303.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56C8 |
|---|---|
| RGB | rgb(141, 86, 200) |
| HSL | hsl(269, 51%, 56%) |
| HSV | hsv(269, 57%, 78%) |
| CMYK | cmyk(29.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(47.61, 45.05, -51.06) |
| CIE-LCH | lch(47.61, 68.09, 311.42°) |
| OKLab | oklab(56.74% 0.0959 -0.1442) |
| OKLCH | oklch(56.74% 0.173 303.6) |
| XYZ | xyz(24.7353, 16.4885, 56.5119) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.90
Purpley
#8756E4
ΔE00 4.65
Amethyst
#9B5FC0
ΔE00 4.66
Lightish Purple
#A552E6
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 6.21
Light Indigo
#6D5ACF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56C8 #91C856
analogous
#5658C8 #8D56C8 #C656C8
triadic
#8D56C8 #C88D56 #56C88D
tetradic
#8D56C8 #C85658 #91C856 #56C8C6
square
#8D56C8 #C85658 #91C856 #56C8C6
split-complementary
#8D56C8 #C8C656 #58C856
monochromatic
#50287B #6E37AA #8D56C8 #AC84D7 #CBB2E6
Accessibility & contrast
On white
4.89
#8D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#8D56C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D56C8
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D56C8 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#826C87
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d56c8; /* rgb */ color: rgb(141, 86, 200); /* oklch */ color: oklch(56.7% 0.173 303.6);
Tailwind
colors: {
custom: {
50: '#b288d9',
500: '#8d56c8',
950: '#000000',
},
}SCSS
$custom: #8d56c8; $custom-light: #b288d9; $custom-dark: #000000;
JSON
{
"hex": "#8d56c8",
"rgb": {
"r": 141,
"g": 86,
"b": 200
},
"hsl": {
"h": 268.947,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.56743,
"c": 0.17315,
"h": 303.6
},
"luminance": 0.16488
}Semantic roles & 50–950 ramp
primary
#8D56C8
secondary
#BED4A5
accent
#DA4D96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83