#AA7AE9#AA7AE9

#AA7AE9 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.164 H 302.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AA7AE9
RGBrgb(170, 122, 233)
HSLhsl(266, 72%, 70%)
HSVhsv(266, 48%, 91%)
CMYKcmyk(27%, 47.6%, 0%, 8.6%)
CIE-LABlab(60.20, 40.66, -49.49)
CIE-LCHlch(60.20, 64.05, 309.41°)
OKLaboklab(67.36% 0.0873 -0.1389)
OKLCHoklch(67.36% 0.164 302.2)
XYZxyz(38.2418, 28.3483, 80.5321)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AE9 #B9E97A
analogous
#7A82E9 #AA7AE9 #E27AE9
triadic
#AA7AE9 #E9AA7A #7AE9AA
tetradic
#AA7AE9 #E97A82 #B9E97A #7AE9E2
square
#AA7AE9 #E97A82 #B9E97A #7AE9E2
split-complementary
#AA7AE9 #E9E27A #82E97A
monochromatic
#6921C8 #8845E0 #AA7AE9 #CCAFF2 #EDE3FA

Accessibility & contrast

On white

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

On black

6.67
#AA7AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AE9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AE9#FFFFFF#000000##000000
##AA7AE91.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990ED
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#9E8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7ae9;
/* rgb */ color: rgb(170, 122, 233);
/* oklch */ color: oklch(67.4% 0.164 302.2);
Tailwind
colors: {
  custom: {
    50: '#c6a1f0',
    500: '#aa7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ae9;
$custom-light: #c6a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ae9",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 265.946,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67361,
    "c": 0.16404,
    "h": 302.2
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

primary
#AA7AE9
secondary
#E2EFD0
accent
#D41280
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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