#AA8EEA#AA8EEA

#AA8EEA is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.134 H 296.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AA8EEA
RGBrgb(170, 142, 234)
HSLhsl(258, 69%, 74%)
HSVhsv(258, 39%, 92%)
CMYKcmyk(27.4%, 39.3%, 0%, 8.2%)
CIE-LABlab(64.83, 29.69, -42.74)
CIE-LCHlch(64.83, 52.04, 304.79°)
OKLaboklab(70.86% 0.0604 -0.1193)
OKLCHoklch(70.86% 0.134 296.9)
XYZxyz(41.0983, 33.8321, 82.1910)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EEA #CEEA8E
analogous
#8EA0EA #AA8EEA #D88EEA
triadic
#AA8EEA #EAAA8E #8EEAAA
tetradic
#AA8EEA #EA8EA0 #CEEA8E #8EEAD8
square
#AA8EEA #EA8EA0 #CEEA8E #8EEAD8
split-complementary
#AA8EEA #EAD88E #A0EA8E
monochromatic
#5D28D6 #835AE0 #AA8EEA #D1C2F4 #ECE5FA

Accessibility & contrast

On white

2.70
#AA8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AA8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EEA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EEA#FFFFFF#000000##000000
##AA8EEA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#9D9EB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8eea;
/* rgb */ color: rgb(170, 142, 234);
/* oklch */ color: oklch(70.9% 0.134 296.9);
Tailwind
colors: {
  custom: {
    50: '#c5aff1',
    500: '#aa8eea',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eea;
$custom-light: #c5aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eea",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 258.261,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.13375,
    "h": 296.9
  },
  "luminance": 0.33833
}

Semantic roles & 50–950 ramp

primary
#AA8EEA
secondary
#EAF2D9
accent
#D11597
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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