#AA7AEA#AA7AEA

#AA7AEA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.165 H 301.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AA7AEA
RGBrgb(170, 122, 234)
HSLhsl(266, 73%, 70%)
HSVhsv(266, 48%, 92%)
CMYKcmyk(27.4%, 47.9%, 0%, 8.2%)
CIE-LABlab(60.25, 40.90, -49.96)
CIE-LCHlch(60.25, 64.57, 309.31°)
OKLaboklab(67.42% 0.0874 -0.1403)
OKLCHoklch(67.42% 0.165 301.9)
XYZxyz(38.3850, 28.4056, 81.2865)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AEA #BAEA7A
analogous
#7A82EA #AA7AEA #E27AEA
triadic
#AA7AEA #EAAA7A #7AEAAA
tetradic
#AA7AEA #EA7A82 #BAEA7A #7AEAE2
square
#AA7AEA #EA7A82 #BAEA7A #7AEAE2
split-complementary
#AA7AEA #EAE27A #82EA7A
monochromatic
#6920CA #8845E2 #AA7AEA #CCAFF2 #EEE4FB

Accessibility & contrast

On white

3.14
#AA7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AA7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AEA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AEA#FFFFFF#000000##000000
##AA7AEA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#9E8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7aea;
/* rgb */ color: rgb(170, 122, 234);
/* oklch */ color: oklch(67.4% 0.165 301.9);
Tailwind
colors: {
  custom: {
    50: '#c6a1f1',
    500: '#aa7aea',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aea;
$custom-light: #c6a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aea",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 265.714,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67416,
    "c": 0.16528,
    "h": 301.9
  },
  "luminance": 0.28406
}

Semantic roles & 50–950 ramp

primary
#AA7AEA
secondary
#E2F0D0
accent
#D51181
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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