#8D57AF#8D57AF
#8D57AF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.142 H 310.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8D57AF |
|---|---|
| RGB | rgb(141, 87, 175) |
| HSL | hsl(277, 35%, 51%) |
| HSV | hsv(277, 50%, 69%) |
| CMYK | cmyk(19.4%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(46.41, 38.58, -38.43) |
| CIE-LCH | lch(46.41, 54.45, 315.11°) |
| OKLab | oklab(55.4% 0.0929 -0.1073) |
| OKLCH | oklch(55.4% 0.142 310.9) |
| XYZ | xyz(22.1292, 15.5747, 42.3896) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.47
Amethyst
#9B5FC0
ΔE00 4.39
Royal Purple
#7851A9
ΔE00 4.83
Purply
#983FB2
ΔE00 5.81
Medium Purple
#9E43A2
ΔE00 6.48
Deep Lilac
#966EBD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D57AF #79AF57
analogous
#6157AF #8D57AF #AF57A5
triadic
#8D57AF #AF8D57 #57AF8D
tetradic
#8D57AF #AF6157 #79AF57 #57A5AF
square
#8D57AF #AF6157 #79AF57 #57A5AF
split-complementary
#8D57AF #A5AF57 #57AF61
monochromatic
#4B2D5F #6C4188 #8D57AF #A980C3 #C5AAD6
Accessibility & contrast
On white
5.10
#8D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8D57AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D57AF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D57AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D57AF | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#89657B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8d57af; /* rgb */ color: rgb(141, 87, 175); /* oklch */ color: oklch(55.4% 0.142 310.9);
Tailwind
colors: {
custom: {
50: '#b088c7',
500: '#8d57af',
950: '#000000',
},
}SCSS
$custom: #8d57af; $custom-light: #b088c7; $custom-dark: #000000;
JSON
{
"hex": "#8d57af",
"rgb": {
"r": 141,
"g": 87,
"b": 175
},
"hsl": {
"h": 276.818,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.55404,
"c": 0.14194,
"h": 310.9
},
"luminance": 0.15574
}Semantic roles & 50–950 ramp
primary
#8D57AF
secondary
#ACC49E
accent
#CC5C87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82