#AA7EEA#AA7EEA

#AA7EEA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.1% C 0.159 H 301.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AA7EEA
RGBrgb(170, 126, 234)
HSLhsl(264, 72%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(27.4%, 46.2%, 0%, 8.2%)
CIE-LABlab(61.14, 38.68, -48.56)
CIE-LCHlch(61.14, 62.08, 308.54°)
OKLaboklab(68.08% 0.0821 -0.1362)
OKLCHoklch(68.08% 0.159 301.1)
XYZxyz(38.8863, 29.4081, 81.4536)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EEA #BEEA7E
analogous
#7E88EA #AA7EEA #E07EEA
triadic
#AA7EEA #EAAA7E #7EEAAA
tetradic
#AA7EEA #EA7E88 #BEEA7E #7EEAE0
square
#AA7EEA #EA7E88 #BEEA7E #7EEAE0
split-complementary
#AA7EEA #EAE07E #88EA7E
monochromatic
#6721CC #8749E1 #AA7EEA #CDB3F3 #EEE5FB

Accessibility & contrast

On white

3.05
#AA7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AA7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EEA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EEA#FFFFFF#000000##000000
##AA7EEA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#9E91A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7eea;
/* rgb */ color: rgb(170, 126, 234);
/* oklch */ color: oklch(68.1% 0.159 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6a4f1',
    500: '#aa7eea',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eea;
$custom-light: #c6a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eea",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 264.444,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68079,
    "c": 0.15901,
    "h": 301.1
  },
  "luminance": 0.29408
}

Semantic roles & 50–950 ramp

primary
#AA7EEA
secondary
#E5F1D3
accent
#D41185
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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