#8D57C8#8D57C8
#8D57C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.172 H 303.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8D57C8 |
|---|---|
| RGB | rgb(141, 87, 200) |
| HSL | hsl(269, 51%, 56%) |
| HSV | hsv(269, 57%, 78%) |
| CMYK | cmyk(29.5%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(47.82, 44.51, -50.73) |
| CIE-LCH | lch(47.82, 67.48, 311.26°) |
| OKLab | oklab(56.89% 0.0946 -0.1432) |
| OKLCH | oklch(56.89% 0.172 303.4) |
| XYZ | xyz(24.8157, 16.6493, 56.5387) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.75
Amethyst
#9B5FC0
ΔE00 4.51
Purpley
#8756E4
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.28
Light Indigo
#6D5ACF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D57C8 #92C857
analogous
#575AC8 #8D57C8 #C657C8
triadic
#8D57C8 #C88D57 #57C88D
tetradic
#8D57C8 #C8575A #92C857 #57C8C6
square
#8D57C8 #C8575A #92C857 #57C8C6
split-complementary
#8D57C8 #C8C657 #5AC857
monochromatic
#50297C #6E38AA #8D57C8 #AC85D7 #CCB3E6
Accessibility & contrast
On white
4.85
#8D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8D57C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D57C8
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D57C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D57C8 | 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)
#2970CC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#826D87
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d57c8; /* rgb */ color: rgb(141, 87, 200); /* oklch */ color: oklch(56.9% 0.172 303.4);
Tailwind
colors: {
custom: {
50: '#b288d9',
500: '#8d57c8',
950: '#000000',
},
}SCSS
$custom: #8d57c8; $custom-light: #b288d9; $custom-dark: #000000;
JSON
{
"hex": "#8d57c8",
"rgb": {
"r": 141,
"g": 87,
"b": 200
},
"hsl": {
"h": 268.673,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.56894,
"c": 0.17164,
"h": 303.4
},
"luminance": 0.16649
}Semantic roles & 50–950 ramp
primary
#8D57C8
secondary
#BED5A6
accent
#DA4E97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83