#AA8FEB#AA8FEB
#AA8FEB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.134 H 296.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8FEB |
|---|---|
| RGB | rgb(170, 143, 235) |
| HSL | hsl(258, 70%, 74%) |
| HSV | hsv(258, 39%, 92%) |
| CMYK | cmyk(27.7%, 39.1%, 0%, 7.8%) |
| CIE-LAB | lab(65.11, 29.37, -42.85) |
| CIE-LCH | lch(65.11, 51.95, 304.43°) |
| OKLab | oklab(71.09% 0.0593 -0.1196) |
| OKLCH | oklch(71.09% 0.134 296.4) |
| XYZ | xyz(41.3918, 34.1887, 82.9995) |
| Luminance | 0.3419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.33
Perrywinkle
#8F8CE7
ΔE00 5.84
Baby Purple
#CA9BF7
ΔE00 6.45
Lavender
#B39DDB
ΔE00 6.53
Pale Purple
#B790D4
ΔE00 6.58
Pastel Purple
#CAA0FF
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8FEB #D0EB8F
analogous
#8FA2EB #AA8FEB #D88FEB
triadic
#AA8FEB #EBAA8F #8FEBAA
tetradic
#AA8FEB #EB8FA2 #D0EB8F #8FEBD8
square
#AA8FEB #EB8FA2 #D0EB8F #8FEBD8
split-complementary
#AA8FEB #EBD88F #A2EB8F
monochromatic
#5B27D8 #835BE2 #AA8FEB #D1C3F4 #EBE5FA
Accessibility & contrast
On white
2.68
#AA8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#AA8FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8FEB
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8FEB | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#9D9FB2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aa8feb; /* rgb */ color: rgb(170, 143, 235); /* oklch */ color: oklch(71.1% 0.134 296.4);
Tailwind
colors: {
custom: {
50: '#c5b0f2',
500: '#aa8feb',
950: '#000000',
},
}SCSS
$custom: #aa8feb; $custom-light: #c5b0f2; $custom-dark: #000000;
JSON
{
"hex": "#aa8feb",
"rgb": {
"r": 170,
"g": 143,
"b": 235
},
"hsl": {
"h": 257.609,
"s": 69.697,
"l": 74.118
},
"oklch": {
"l": 0.7109,
"c": 0.1335,
"h": 296.4
},
"luminance": 0.34189
}Semantic roles & 50–950 ramp
primary
#AA8FEB
secondary
#EBF2D9
accent
#D2149A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85