#AA8FE3#AA8FE3
#AA8FE3 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.7% C 0.123 H 298.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8FE3 |
|---|---|
| RGB | rgb(170, 143, 227) |
| HSL | hsl(259, 60%, 73%) |
| HSV | hsv(259, 37%, 89%) |
| CMYK | cmyk(25.1%, 37%, 0%, 11%) |
| CIE-LAB | lab(64.75, 27.44, -38.99) |
| CIE-LCH | lch(64.75, 47.68, 305.13°) |
| OKLab | oklab(70.7% 0.0576 -0.1085) |
| OKLCH | oklch(70.7% 0.123 298) |
| XYZ | xyz(40.2620, 33.7367, 77.0488) |
| Luminance | 0.3374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.28
Lavender
#B39DDB
ΔE00 5.45
Liliac
#C48EFD
ΔE00 5.86
Baby Purple
#CA9BF7
ΔE00 6.39
Lavender (survey)
#C79FEF
ΔE00 6.40
Perrywinkle
#8F8CE7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8FE3 #C8E38F
analogous
#8F9EE3 #AA8FE3 #D48FE3
triadic
#AA8FE3 #E3AA8F #8FE3AA
tetradic
#AA8FE3 #E38F9E #C8E38F #8FE3D4
square
#AA8FE3 #E38F9E #C8E38F #8FE3D4
split-complementary
#AA8FE3 #E3D48F #9EE38F
monochromatic
#6132C6 #855ED7 #AA8FE3 #CFC0EF #ECE7F9
Accessibility & contrast
On white
2.71
#AA8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#AA8FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8FE3
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8FE3 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9DE6
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#9F9DAE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #aa8fe3; /* rgb */ color: rgb(170, 143, 227); /* oklch */ color: oklch(70.7% 0.123 298.0);
Tailwind
colors: {
custom: {
50: '#c5b0ec',
500: '#aa8fe3',
950: '#000000',
},
}SCSS
$custom: #aa8fe3; $custom-light: #c5b0ec; $custom-dark: #000000;
JSON
{
"hex": "#aa8fe3",
"rgb": {
"r": 170,
"g": 143,
"b": 227
},
"hsl": {
"h": 259.286,
"s": 60,
"l": 72.549
},
"oklch": {
"l": 0.707,
"c": 0.12283,
"h": 298
},
"luminance": 0.33737
}Semantic roles & 50–950 ramp
primary
#AA8FE3
secondary
#E9F0DB
accent
#C81E91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84