#AA8FEC#AA8FEC
#AA8FEC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.135 H 296.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8FEC |
|---|---|
| RGB | rgb(170, 143, 236) |
| HSL | hsl(257, 71%, 74%) |
| HSV | hsv(257, 39%, 93%) |
| CMYK | cmyk(28%, 39.4%, 0%, 7.5%) |
| CIE-LAB | lab(65.16, 29.61, -43.33) |
| CIE-LCH | lch(65.16, 52.48, 304.35°) |
| OKLab | oklab(71.14% 0.0595 -0.121) |
| OKLCH | oklch(71.14% 0.135 296.2) |
| XYZ | xyz(41.5367, 34.2466, 83.7625) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.28
Perrywinkle
#8F8CE7
ΔE00 5.78
Baby Purple
#CA9BF7
ΔE00 6.48
Lavender
#B39DDB
ΔE00 6.67
Pastel Purple
#CAA0FF
ΔE00 6.68
Pale Purple
#B790D4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8FEC #D1EC8F
analogous
#8FA3EC #AA8FEC #D88FEC
triadic
#AA8FEC #ECAA8F #8FECAA
tetradic
#AA8FEC #EC8FA3 #D1EC8F #8FECD8
square
#AA8FEC #EC8FA3 #D1EC8F #8FECD8
split-complementary
#AA8FEC #ECD88F #A3EC8F
monochromatic
#5B26DA #825BE3 #AA8FEC #D2C3F5 #EBE5FB
Accessibility & contrast
On white
2.68
#AA8FEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#AA8FEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8FEC
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8FEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8FEC | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#9C9FB2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aa8fec; /* rgb */ color: rgb(170, 143, 236); /* oklch */ color: oklch(71.1% 0.135 296.2);
Tailwind
colors: {
custom: {
50: '#c5b0f2',
500: '#aa8fec',
950: '#000000',
},
}SCSS
$custom: #aa8fec; $custom-light: #c5b0f2; $custom-dark: #000000;
JSON
{
"hex": "#aa8fec",
"rgb": {
"r": 170,
"g": 143,
"b": 236
},
"hsl": {
"h": 257.419,
"s": 70.992,
"l": 74.314
},
"oklch": {
"l": 0.7114,
"c": 0.13483,
"h": 296.2
},
"luminance": 0.34247
}Semantic roles & 50–950 ramp
primary
#AA8FEC
secondary
#EBF2D9
accent
#D3129B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85