#8D56E7#8D56E7
#8D56E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.209 H 296.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56E7 |
|---|---|
| RGB | rgb(141, 86, 231) |
| HSL | hsl(263, 75%, 62%) |
| HSV | hsv(263, 63%, 91%) |
| CMYK | cmyk(39%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(49.60, 52.80, -65.51) |
| CIE-LCH | lch(49.60, 84.14, 308.87°) |
| OKLab | oklab(58.83% 0.0948 -0.1866) |
| OKLCH | oklch(58.83% 0.209 296.9) |
| XYZ | xyz(28.7324, 18.0873, 77.5632) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.13
Lightish Purple
#A552E6
ΔE00 4.37
Lighter Purple
#A55AF4
ΔE00 4.85
Mediumslateblue
#7B68EE
ΔE00 6.01
Light Indigo
#6D5ACF
ΔE00 6.58
Slate Blue
#6A5ACD
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56E7 #B0E756
analogous
#5667E7 #8D56E7 #D656E7
triadic
#8D56E7 #E78D56 #56E78D
tetradic
#8D56E7 #E75667 #B0E756 #56E7D6
square
#8D56E7 #E75667 #B0E756 #56E7D6
split-complementary
#8D56E7 #E7D656 #67E756
monochromatic
#5018AA #6920DF #8D56E7 #B18CEF #D5C1F6
Accessibility & contrast
On white
4.55
#8D56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#8D56E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D56E7
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D56E7 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#777797
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d56e7; /* rgb */ color: rgb(141, 86, 231); /* oklch */ color: oklch(58.8% 0.209 296.9);
Tailwind
colors: {
custom: {
50: '#b488ef',
500: '#8d56e7',
950: '#000000',
},
}SCSS
$custom: #8d56e7; $custom-light: #b488ef; $custom-dark: #000000;
JSON
{
"hex": "#8d56e7",
"rgb": {
"r": 141,
"g": 86,
"b": 231
},
"hsl": {
"h": 262.759,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.58831,
"c": 0.20934,
"h": 296.9
},
"luminance": 0.18088
}Semantic roles & 50–950 ramp
primary
#8D56E7
secondary
#D3E7B2
accent
#D70E8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85