#8A57CD#8A57CD
#8A57CD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.177 H 300.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A57CD |
|---|---|
| RGB | rgb(138, 87, 205) |
| HSL | hsl(266, 54%, 57%) |
| HSV | hsv(266, 58%, 80%) |
| CMYK | cmyk(32.7%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.79, 45.01, -53.67) |
| CIE-LCH | lch(47.79, 70.04, 309.99°) |
| OKLab | oklab(56.9% 0.0908 -0.1519) |
| OKLCH | oklch(56.9% 0.177 300.9) |
| XYZ | xyz(24.9063, 16.6273, 59.6430) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Deep Lavender
#8D5EB7
ΔE00 4.67
Amethyst
#9B5FC0
ΔE00 5.45
Lightish Purple
#A552E6
ΔE00 5.69
Light Indigo
#6D5ACF
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A57CD #9ACD57
analogous
#575FCD #8A57CD #C557CD
triadic
#8A57CD #CD8A57 #57CD8A
tetradic
#8A57CD #CD575F #9ACD57 #57CDC5
square
#8A57CD #CD575F #9ACD57 #57CDC5
split-complementary
#8A57CD #CDC557 #5FCD57
monochromatic
#4F2783 #6B35B2 #8A57CD #AB86DB #CCB5E9
Accessibility & contrast
On white
4.86
#8A57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8A57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A57CD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A57CD | 1.00 | 4.86 | 4.33 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#7C6F8A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a57cd; /* rgb */ color: rgb(138, 87, 205); /* oklch */ color: oklch(56.9% 0.177 300.9);
Tailwind
colors: {
custom: {
50: '#b088dd',
500: '#8a57cd',
950: '#000000',
},
}SCSS
$custom: #8a57cd; $custom-light: #b088dd; $custom-dark: #000000;
JSON
{
"hex": "#8a57cd",
"rgb": {
"r": 138,
"g": 87,
"b": 205
},
"hsl": {
"h": 265.932,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.56896,
"c": 0.17697,
"h": 300.9
},
"luminance": 0.16627
}Semantic roles & 50–950 ramp
primary
#8A57CD
secondary
#C3D8A8
accent
#DD4A9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83