#8E56DC#8E56DC
#8E56DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.197 H 299.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8E56DC |
|---|---|
| RGB | rgb(142, 86, 220) |
| HSL | hsl(265, 66%, 60%) |
| HSV | hsv(265, 61%, 86%) |
| CMYK | cmyk(35.5%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(48.97, 50.23, -60.30) |
| CIE-LCH | lch(48.97, 78.48, 309.80°) |
| OKLab | oklab(58.17% 0.0968 -0.1713) |
| OKLCH | oklch(58.17% 0.197 299.5) |
| XYZ | xyz(27.3982, 17.5734, 69.6448) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.85
Lightish Purple
#A552E6
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 6.39
Amethyst
#9B5FC0
ΔE00 6.51
Deep Lavender
#8D5EB7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E56DC #A4DC56
analogous
#5661DC #8E56DC #D156DC
triadic
#8E56DC #DC8E56 #56DC8E
tetradic
#8E56DC #DC5661 #A4DC56 #56DCD1
square
#8E56DC #DC5661 #A4DC56 #56DCD1
split-complementary
#8E56DC #DCD156 #61DC56
monochromatic
#522098 #6D2ACB #8E56DC #B089E6 #D2BBF1
Accessibility & contrast
On white
4.65
#8E56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8E56DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8E56DC
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E56DC | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#7D7391
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8e56dc; /* rgb */ color: rgb(142, 86, 220); /* oklch */ color: oklch(58.2% 0.197 299.5);
Tailwind
colors: {
custom: {
50: '#b488e8',
500: '#8e56dc',
950: '#000000',
},
}SCSS
$custom: #8e56dc; $custom-light: #b488e8; $custom-dark: #000000;
JSON
{
"hex": "#8e56dc",
"rgb": {
"r": 142,
"g": 86,
"b": 220
},
"hsl": {
"h": 265.075,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.58167,
"c": 0.19675,
"h": 299.5
},
"luminance": 0.17574
}Semantic roles & 50–950 ramp
primary
#8E56DC
secondary
#CBE1AD
accent
#E93FA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84