#AA8FEE#AA8FEE
#AA8FEE is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.2% C 0.137 H 295.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8FEE |
|---|---|
| RGB | rgb(170, 143, 238) |
| HSL | hsl(257, 74%, 75%) |
| HSV | hsv(257, 40%, 93%) |
| CMYK | cmyk(28.6%, 39.9%, 0%, 6.7%) |
| CIE-LAB | lab(65.25, 30.10, -44.29) |
| CIE-LCH | lch(65.25, 53.55, 304.21°) |
| OKLab | oklab(71.24% 0.0598 -0.1238) |
| OKLCH | oklch(71.24% 0.137 295.8) |
| XYZ | xyz(41.8289, 34.3635, 85.3014) |
| Luminance | 0.3436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.22
Perrywinkle
#8F8CE7
ΔE00 5.70
Baby Purple
#CA9BF7
ΔE00 6.55
Pastel Purple
#CAA0FF
ΔE00 6.68
Lavender
#B39DDB
ΔE00 6.95
Pale Purple
#B790D4
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8FEE #D3EE8F
analogous
#8FA3EE #AA8FEE #DA8FEE
triadic
#AA8FEE #EEAA8F #8FEEAA
tetradic
#AA8FEE #EE8FA3 #D3EE8F #8FEEDA
square
#AA8FEE #EE8FA3 #D3EE8F #8FEEDA
split-complementary
#AA8FEE #EEDA8F #A3EE8F
monochromatic
#5925DE #825AE6 #AA8FEE #D2C4F6 #EBE4FB
Accessibility & contrast
On white
2.67
#AA8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#AA8FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8FEE
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8FEE | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#9CA0B3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aa8fee; /* rgb */ color: rgb(170, 143, 238); /* oklch */ color: oklch(71.2% 0.137 295.8);
Tailwind
colors: {
custom: {
50: '#c5b0f4',
500: '#aa8fee',
950: '#000000',
},
}SCSS
$custom: #aa8fee; $custom-light: #c5b0f4; $custom-dark: #000000;
JSON
{
"hex": "#aa8fee",
"rgb": {
"r": 170,
"g": 143,
"b": 238
},
"hsl": {
"h": 257.053,
"s": 73.643,
"l": 74.706
},
"oklch": {
"l": 0.7124,
"c": 0.13748,
"h": 295.8
},
"luminance": 0.34364
}Semantic roles & 50–950 ramp
primary
#AA8FEE
secondary
#EBF3D8
accent
#D6109D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85