#8A5ABF#8A5ABF
#8A5ABF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.155 H 303.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5ABF |
|---|---|
| RGB | rgb(138, 90, 191) |
| HSL | hsl(269, 44%, 55%) |
| HSV | hsv(269, 53%, 75%) |
| CMYK | cmyk(27.7%, 52.9%, 0%, 25.1%) |
| CIE-LAB | lab(47.59, 39.88, -45.90) |
| CIE-LCH | lch(47.59, 60.80, 310.99°) |
| OKLab | oklab(56.49% 0.0864 -0.1292) |
| OKLCH | oklch(56.49% 0.155 303.8) |
| XYZ | xyz(23.5393, 16.4773, 51.2204) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.26
Amethyst
#9B5FC0
ΔE00 4.08
Royal Purple
#7851A9
ΔE00 5.30
Purpley
#8756E4
ΔE00 6.03
Deep Lilac
#966EBD
ΔE00 6.90
Light Indigo
#6D5ACF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5ABF #8FBF5A
analogous
#5A5CBF #8A5ABF #BD5ABF
triadic
#8A5ABF #BF8A5A #5ABF8A
tetradic
#8A5ABF #BF5A5C #8FBF5A #5ABFBD
square
#8A5ABF #BF5A5C #8FBF5A #5ABFBD
split-complementary
#8A5ABF #BFBD5A #5CBF5A
monochromatic
#4E2C72 #6C3D9E #8A5ABF #A986D0 #C9B2E1
Accessibility & contrast
On white
4.89
#8A5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#8A5ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5ABF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5ABF | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#816D84
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a5abf; /* rgb */ color: rgb(138, 90, 191); /* oklch */ color: oklch(56.5% 0.155 303.8);
Tailwind
colors: {
custom: {
50: '#af8ad3',
500: '#8a5abf',
950: '#000000',
},
}SCSS
$custom: #8a5abf; $custom-light: #af8ad3; $custom-dark: #000000;
JSON
{
"hex": "#8a5abf",
"rgb": {
"r": 138,
"g": 90,
"b": 191
},
"hsl": {
"h": 268.515,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.56487,
"c": 0.15542,
"h": 303.8
},
"luminance": 0.16477
}Semantic roles & 50–950 ramp
primary
#8A5ABF
secondary
#BBD0A5
accent
#D45497
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83