#8A57B3#8A57B3
#8A57B3 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.146 H 307.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A57B3 |
|---|---|
| RGB | rgb(138, 87, 179) |
| HSL | hsl(273, 38%, 52%) |
| HSV | hsv(273, 51%, 70%) |
| CMYK | cmyk(22.9%, 51.4%, 0%, 29.8%) |
| CIE-LAB | lab(46.28, 38.67, -41.01) |
| CIE-LCH | lch(46.28, 56.37, 313.32°) |
| OKLab | oklab(55.3% 0.0895 -0.1149) |
| OKLCH | oklch(55.3% 0.146 307.9) |
| XYZ | xyz(22.0245, 15.4746, 44.4657) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.20
Royal Purple
#7851A9
ΔE00 4.19
Amethyst
#9B5FC0
ΔE00 4.52
Purply
#983FB2
ΔE00 6.04
Medium Purple
#9E43A2
ΔE00 7.34
Deep Lilac
#966EBD
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A57B3 #80B357
analogous
#5C57B3 #8A57B3 #B357AE
triadic
#8A57B3 #B38A57 #57B38A
tetradic
#8A57B3 #B35C57 #80B357 #57AEB3
square
#8A57B3 #B35C57 #80B357 #57AEB3
split-complementary
#8A57B3 #AEB357 #57B35C
monochromatic
#4B2D63 #6B408D #8A57B3 #A781C6 #C5ABD9
Accessibility & contrast
On white
5.13
#8A57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8A57B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A57B3
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A57B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A57B3 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#84677D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a57b3; /* rgb */ color: rgb(138, 87, 179); /* oklch */ color: oklch(55.3% 0.146 307.9);
Tailwind
colors: {
custom: {
50: '#ae88ca',
500: '#8a57b3',
950: '#000000',
},
}SCSS
$custom: #8a57b3; $custom-light: #ae88ca; $custom-dark: #000000;
JSON
{
"hex": "#8a57b3",
"rgb": {
"r": 138,
"g": 87,
"b": 179
},
"hsl": {
"h": 273.261,
"s": 37.705,
"l": 52.157
},
"oklch": {
"l": 0.55296,
"c": 0.14565,
"h": 307.9
},
"luminance": 0.15474
}Semantic roles & 50–950 ramp
primary
#8A57B3
secondary
#B1C79F
accent
#CE5A8E
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110B13
muted
#807C82