#8A57F3#8A57F3
#8A57F3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.222 H 293.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A57F3 |
|---|---|
| RGB | rgb(138, 87, 243) |
| HSL | hsl(260, 87%, 65%) |
| HSV | hsv(260, 64%, 95%) |
| CMYK | cmyk(43.2%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(50.32, 54.80, -71.10) |
| CIE-LCH | lch(50.32, 89.76, 307.62°) |
| OKLab | oklab(59.55% 0.0887 -0.2032) |
| OKLCH | oklch(59.55% 0.222 293.6) |
| XYZ | xyz(30.0627, 18.6899, 86.8002) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.18
Lighter Purple
#A55AF4
ΔE00 4.94
Mediumslateblue
#7B68EE
ΔE00 5.12
Lightish Purple
#A552E6
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 6.99
Slate Blue
#6A5ACD
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A57F3 #C0F357
analogous
#5772F3 #8A57F3 #D857F3
triadic
#8A57F3 #F38A57 #57F38A
tetradic
#8A57F3 #F35772 #C0F357 #57F3D8
square
#8A57F3 #F35772 #C0F357 #57F3D8
split-complementary
#8A57F3 #F3D857 #72F357
monochromatic
#490EC2 #621EEF #8A57F3 #B290F7 #DAC9FB
Accessibility & contrast
On white
4.43
#8A57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#8A57F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A57F3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A57F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A57F3 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6D7C9D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a57f3; /* rgb */ color: rgb(138, 87, 243); /* oklch */ color: oklch(59.5% 0.222 293.6);
Tailwind
colors: {
custom: {
50: '#b389f8',
500: '#8a57f3',
950: '#000000',
},
}SCSS
$custom: #8a57f3; $custom-light: #b389f8; $custom-dark: #000000;
JSON
{
"hex": "#8a57f3",
"rgb": {
"r": 138,
"g": 87,
"b": 243
},
"hsl": {
"h": 259.615,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.59545,
"c": 0.22167,
"h": 293.6
},
"luminance": 0.18691
}Semantic roles & 50–950 ramp
primary
#8A57F3
secondary
#DCEEB8
accent
#E3029A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85