#AA8EE9#AA8EE9

#AA8EE9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.132 H 297.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE9
RGBrgb(170, 142, 233)
HSLhsl(258, 67%, 74%)
HSVhsv(258, 39%, 91%)
CMYKcmyk(27%, 39.1%, 0%, 8.6%)
CIE-LABlab(64.78, 29.45, -42.26)
CIE-LCHlch(64.78, 51.51, 304.87°)
OKLaboklab(70.81% 0.0602 -0.1179)
OKLCHoklch(70.81% 0.132 297.1)
XYZxyz(40.9551, 33.7748, 81.4365)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE9 #CDE98E
analogous
#8E9FE9 #AA8EE9 #D78EE9
triadic
#AA8EE9 #E9AA8E #8EE9AA
tetradic
#AA8EE9 #E98E9F #CDE98E #8EE9D7
square
#AA8EE9 #E98E9F #CDE98E #8EE9D7
split-complementary
#AA8EE9 #E9D78E #9FE98E
monochromatic
#5E29D3 #835BDF #AA8EE9 #D1C1F3 #ECE5FA

Accessibility & contrast

On white

2.71
#AA8EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AA8EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE9#FFFFFF#000000##000000
##AA8EE91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEC
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#9D9EB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8ee9;
/* rgb */ color: rgb(170, 142, 233);
/* oklch */ color: oklch(70.8% 0.132 297.1);
Tailwind
colors: {
  custom: {
    50: '#c5aff0',
    500: '#aa8ee9',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee9;
$custom-light: #c5aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee9",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 233
  },
  "hsl": {
    "h": 258.462,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.13242,
    "h": 297.1
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#AA8EE9
secondary
#EAF2D9
accent
#CF1696
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EE9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA8EE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva