#AA7AE8#AA7AE8

#AA7AE8 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.163 H 302.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AA7AE8
RGBrgb(170, 122, 232)
HSLhsl(266, 71%, 69%)
HSVhsv(266, 47%, 91%)
CMYKcmyk(26.7%, 47.4%, 0%, 9%)
CIE-LABlab(60.15, 40.43, -49.01)
CIE-LCHlch(60.15, 63.53, 309.52°)
OKLaboklab(67.31% 0.0872 -0.1375)
OKLCHoklch(67.31% 0.163 302.4)
XYZxyz(38.0993, 28.2913, 79.7819)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AE8 #B8E87A
analogous
#7A81E8 #AA7AE8 #E17AE8
triadic
#AA7AE8 #E8AA7A #7AE8AA
tetradic
#AA7AE8 #E87A81 #B8E87A #7AE8E1
square
#AA7AE8 #E87A81 #B8E87A #7AE8E1
split-complementary
#AA7AE8 #E8E17A #81E87A
monochromatic
#6922C5 #8946DF #AA7AE8 #CBAEF1 #EDE2FA

Accessibility & contrast

On white

3.15
#AA7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AA7AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AE8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AE8#FFFFFF#000000##000000
##AA7AE81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#6591E5
Tritanopia (blue-blind)
#9F8EA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7ae8;
/* rgb */ color: rgb(170, 122, 232);
/* oklch */ color: oklch(67.3% 0.163 302.4);
Tailwind
colors: {
  custom: {
    50: '#c6a1f0',
    500: '#aa7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ae8;
$custom-light: #c6a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ae8",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 266.182,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.16282,
    "h": 302.4
  },
  "luminance": 0.28291
}

Semantic roles & 50–950 ramp

primary
#AA7AE8
secondary
#E1EFCF
accent
#D3137F
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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