#8A57E4#8A57E4
#8A57E4 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.204 H 296.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8A57E4 |
|---|---|
| RGB | rgb(138, 87, 228) |
| HSL | hsl(262, 72%, 62%) |
| HSV | hsv(262, 62%, 89%) |
| CMYK | cmyk(39.5%, 61.8%, 0%, 10.6%) |
| CIE-LAB | lab(49.28, 50.88, -64.36) |
| CIE-LCH | lch(49.28, 82.04, 308.33°) |
| OKLab | oklab(58.46% 0.09 -0.1834) |
| OKLCH | oklch(58.46% 0.204 296.1) |
| XYZ | xyz(27.8894, 17.8206, 75.3541) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 0.63
Lightish Purple
#A552E6
ΔE00 4.87
Lighter Purple
#A55AF4
ΔE00 5.39
Mediumslateblue
#7B68EE
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A57E4 #B1E457
analogous
#576BE4 #8A57E4 #D157E4
triadic
#8A57E4 #E48A57 #57E48A
tetradic
#8A57E4 #E4576B #B1E457 #57E4D1
square
#8A57E4 #E4576B #B1E457 #57E4D1
split-complementary
#8A57E4 #E4D157 #6BE457
monochromatic
#4D1BA6 #6623DB #8A57E4 #AF8CEC #D3C0F5
Accessibility & contrast
On white
4.60
#8A57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#8A57E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A57E4
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A57E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A57E4 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#747796
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a57e4; /* rgb */ color: rgb(138, 87, 228); /* oklch */ color: oklch(58.5% 0.204 296.1);
Tailwind
colors: {
custom: {
50: '#b289ed',
500: '#8a57e4',
950: '#000000',
},
}SCSS
$custom: #8a57e4; $custom-light: #b289ed; $custom-dark: #000000;
JSON
{
"hex": "#8a57e4",
"rgb": {
"r": 138,
"g": 87,
"b": 228
},
"hsl": {
"h": 261.702,
"s": 72.308,
"l": 61.765
},
"oklch": {
"l": 0.58459,
"c": 0.20424,
"h": 296.1
},
"luminance": 0.17821
}Semantic roles & 50–950 ramp
primary
#8A57E4
secondary
#D3E6B1
accent
#D4118E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84