#8A57BF#8A57BF
#8A57BF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.160 H 304.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A57BF |
|---|---|
| RGB | rgb(138, 87, 191) |
| HSL | hsl(269, 45%, 55%) |
| HSV | hsv(269, 54%, 75%) |
| CMYK | cmyk(27.7%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(46.95, 41.55, -46.93) |
| CIE-LCH | lch(46.95, 62.68, 311.52°) |
| OKLab | oklab(56.01% 0.0904 -0.1322) |
| OKLCH | oklch(56.01% 0.16 304.4) |
| XYZ | xyz(23.2913, 15.9813, 51.1378) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.83
Amethyst
#9B5FC0
ΔE00 4.50
Royal Purple
#7851A9
ΔE00 4.96
Purpley
#8756E4
ΔE00 5.95
Purply
#983FB2
ΔE00 6.63
Light Indigo
#6D5ACF
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A57BF #8CBF57
analogous
#5758BF #8A57BF #BE57BF
triadic
#8A57BF #BF8A57 #57BF8A
tetradic
#8A57BF #BF5758 #8CBF57 #57BFBE
square
#8A57BF #BF5758 #8CBF57 #57BFBE
split-complementary
#8A57BF #BFBE57 #58BF57
monochromatic
#4D2B71 #6B3C9D #8A57BF #A983D0 #C8B0E1
Accessibility & contrast
On white
5.00
#8A57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#8A57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A57BF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A57BF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#816B83
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a57bf; /* rgb */ color: rgb(138, 87, 191); /* oklch */ color: oklch(56.0% 0.160 304.4);
Tailwind
colors: {
custom: {
50: '#af88d3',
500: '#8a57bf',
950: '#000000',
},
}SCSS
$custom: #8a57bf; $custom-light: #af88d3; $custom-dark: #000000;
JSON
{
"hex": "#8a57bf",
"rgb": {
"r": 138,
"g": 87,
"b": 191
},
"hsl": {
"h": 269.423,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.56011,
"c": 0.16014,
"h": 304.4
},
"luminance": 0.15981
}Semantic roles & 50–950 ramp
primary
#8A57BF
secondary
#B9CFA3
accent
#D55395
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83