#AA8EE8#AA8EE8

#AA8EE8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.131 H 297.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE8
RGBrgb(170, 142, 232)
HSLhsl(259, 66%, 73%)
HSVhsv(259, 39%, 91%)
CMYKcmyk(26.7%, 38.8%, 0%, 9%)
CIE-LABlab(64.74, 29.21, -41.78)
CIE-LCHlch(64.74, 50.98, 304.95°)
OKLaboklab(70.76% 0.0601 -0.1165)
OKLCHoklch(70.76% 0.131 297.3)
XYZxyz(40.8126, 33.7179, 80.6863)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE8 #CCE88E
analogous
#8E9FE8 #AA8EE8 #D78EE8
triadic
#AA8EE8 #E8AA8E #8EE8AA
tetradic
#AA8EE8 #E88E9F #CCE88E #8EE8D7
square
#AA8EE8 #E88E9F #CCE88E #8EE8D7
split-complementary
#AA8EE8 #E8D78E #9FE88E
monochromatic
#5E2BD1 #845BDE #AA8EE8 #D0C1F2 #ECE6FA

Accessibility & contrast

On white

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

On black

7.74
#AA8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE8#FFFFFF#000000##000000
##AA8EE81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#7B9CE6
Tritanopia (blue-blind)
#9E9DB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8ee8;
/* rgb */ color: rgb(170, 142, 232);
/* oklch */ color: oklch(70.8% 0.131 297.3);
Tailwind
colors: {
  custom: {
    50: '#c5afef',
    500: '#aa8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee8;
$custom-light: #c5afef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee8",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 258.667,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.13108,
    "h": 297.3
  },
  "luminance": 0.33718
}

Semantic roles & 50–950 ramp

primary
#AA8EE8
secondary
#EAF1DA
accent
#CE1795
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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