#AA8FEF#AA8FEF
#AA8FEF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.139 H 295.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8FEF |
|---|---|
| RGB | rgb(170, 143, 239) |
| HSL | hsl(257, 75%, 75%) |
| HSV | hsv(257, 40%, 94%) |
| CMYK | cmyk(28.9%, 40.2%, 0%, 6.3%) |
| CIE-LAB | lab(65.30, 30.35, -44.76) |
| CIE-LCH | lch(65.30, 54.08, 304.14°) |
| OKLab | oklab(71.29% 0.06 -0.1252) |
| OKLCH | oklch(71.29% 0.139 295.6) |
| XYZ | xyz(41.9762, 34.4224, 86.0773) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.20
Perrywinkle
#8F8CE7
ΔE00 5.66
Baby Purple
#CA9BF7
ΔE00 6.59
Pastel Purple
#CAA0FF
ΔE00 6.69
Lavender Blue
#8B88F8
ΔE00 6.96
Lavender
#B39DDB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8FEF #D4EF8F
analogous
#8FA4EF #AA8FEF #DA8FEF
triadic
#AA8FEF #EFAA8F #8FEFAA
tetradic
#AA8FEF #EF8FA4 #D4EF8F #8FEFDA
square
#AA8FEF #EF8FA4 #D4EF8F #8FEFDA
split-complementary
#AA8FEF #EFDA8F #A4EF8F
monochromatic
#5924E0 #8159E7 #AA8FEF #D3C5F7 #EBE4FB
Accessibility & contrast
On white
2.66
#AA8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#AA8FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8FEF
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8FEF | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#9BA0B4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aa8fef; /* rgb */ color: rgb(170, 143, 239); /* oklch */ color: oklch(71.3% 0.139 295.6);
Tailwind
colors: {
custom: {
50: '#c5b0f4',
500: '#aa8fef',
950: '#000000',
},
}SCSS
$custom: #aa8fef; $custom-light: #c5b0f4; $custom-dark: #000000;
JSON
{
"hex": "#aa8fef",
"rgb": {
"r": 170,
"g": 143,
"b": 239
},
"hsl": {
"h": 256.875,
"s": 75,
"l": 74.902
},
"oklch": {
"l": 0.7129,
"c": 0.13881,
"h": 295.6
},
"luminance": 0.34423
}Semantic roles & 50–950 ramp
primary
#AA8FEF
secondary
#EBF3D8
accent
#D70E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85