#8A5AAE#8A5AAE
#8A5AAE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.135 H 309.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5AAE |
|---|---|
| RGB | rgb(138, 90, 174) |
| HSL | hsl(274, 34%, 52%) |
| HSV | hsv(274, 48%, 68%) |
| CMYK | cmyk(20.7%, 48.3%, 0%, 31.8%) |
| CIE-LAB | lab(46.67, 35.80, -37.45) |
| CIE-LCH | lch(46.67, 51.81, 313.71°) |
| OKLab | oklab(55.51% 0.0847 -0.1045) |
| OKLCH | oklch(55.51% 0.135 309) |
| XYZ | xyz(21.7759, 15.7719, 41.9333) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.98
Amethyst
#9B5FC0
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 4.68
Deep Lilac
#966EBD
ΔE00 6.84
Purply
#983FB2
ΔE00 6.85
Medium Purple
#9E43A2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5AAE #7EAE5A
analogous
#605AAE #8A5AAE #AE5AA8
triadic
#8A5AAE #AE8A5A #5AAE8A
tetradic
#8A5AAE #AE605A #7EAE5A #5AA8AE
square
#8A5AAE #AE605A #7EAE5A #5AA8AE
split-complementary
#8A5AAE #A8AE5A #5AAE60
monochromatic
#4A2F5F #6A4388 #8A5AAE #A783C2 #C4ACD6
Accessibility & contrast
On white
5.05
#8A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8A5AAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5AAE
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5AAE | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#85687C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a5aae; /* rgb */ color: rgb(138, 90, 174); /* oklch */ color: oklch(55.5% 0.135 309.0);
Tailwind
colors: {
custom: {
50: '#ae8ac6',
500: '#8a5aae',
950: '#000000',
},
}SCSS
$custom: #8a5aae; $custom-light: #ae8ac6; $custom-dark: #000000;
JSON
{
"hex": "#8a5aae",
"rgb": {
"r": 138,
"g": 90,
"b": 174
},
"hsl": {
"h": 274.286,
"s": 34.146,
"l": 51.765
},
"oklch": {
"l": 0.55505,
"c": 0.13456,
"h": 309
},
"luminance": 0.15772
}Semantic roles & 50–950 ramp
primary
#8A5AAE
secondary
#AFC49F
accent
#CA5E8C
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82