#8D56E6#8D56E6
#8D56E6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.208 H 297.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56E6 |
|---|---|
| RGB | rgb(141, 86, 230) |
| HSL | hsl(263, 74%, 62%) |
| HSV | hsv(263, 63%, 90%) |
| CMYK | cmyk(38.7%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(49.53, 52.55, -65.06) |
| CIE-LCH | lch(49.53, 83.63, 308.93°) |
| OKLab | oklab(58.76% 0.0949 -0.1853) |
| OKLCH | oklch(58.76% 0.208 297.1) |
| XYZ | xyz(28.5916, 18.0310, 76.8215) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.10
Lightish Purple
#A552E6
ΔE00 4.35
Lighter Purple
#A55AF4
ΔE00 4.90
Mediumslateblue
#7B68EE
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.53
Slate Blue
#6A5ACD
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56E6 #AFE656
analogous
#5667E6 #8D56E6 #D556E6
triadic
#8D56E6 #E68D56 #56E68D
tetradic
#8D56E6 #E65667 #AFE656 #56E6D5
square
#8D56E6 #E65667 #AFE656 #56E6D5
split-complementary
#8D56E6 #E6D556 #67E656
monochromatic
#5019A9 #6921DE #8D56E6 #B18BEE #D5C1F6
Accessibility & contrast
On white
4.56
#8D56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#8D56E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D56E6
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D56E6 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#777696
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d56e6; /* rgb */ color: rgb(141, 86, 230); /* oklch */ color: oklch(58.8% 0.208 297.1);
Tailwind
colors: {
custom: {
50: '#b488ef',
500: '#8d56e6',
950: '#000000',
},
}SCSS
$custom: #8d56e6; $custom-light: #b488ef; $custom-dark: #000000;
JSON
{
"hex": "#8d56e6",
"rgb": {
"r": 141,
"g": 86,
"b": 230
},
"hsl": {
"h": 262.917,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.5876,
"c": 0.2082,
"h": 297.1
},
"luminance": 0.18031
}Semantic roles & 50–950 ramp
primary
#8D56E6
secondary
#D2E6B1
accent
#D60F8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84