#AA7AEC#AA7AEC

#AA7AEC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.168 H 301.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AA7AEC
RGBrgb(170, 122, 236)
HSLhsl(265, 75%, 70%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(28%, 48.3%, 0%, 7.5%)
CIE-LABlab(60.36, 41.38, -50.91)
CIE-LCHlch(60.36, 65.61, 309.11°)
OKLaboklab(67.53% 0.0877 -0.143)
OKLCHoklch(67.53% 0.168 301.5)
XYZxyz(38.6740, 28.5211, 82.8083)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AEC #BCEC7A
analogous
#7A83EC #AA7AEC #E37AEC
triadic
#AA7AEC #ECAA7A #7AECAA
tetradic
#AA7AEC #EC7A83 #BCEC7A #7AECE3
square
#AA7AEC #EC7A83 #BCEC7A #7AECE3
split-complementary
#AA7AEC #ECE37A #83EC7A
monochromatic
#681DCE #8844E4 #AA7AEC #CCB0F4 #EEE4FB

Accessibility & contrast

On white

3.13
#AA7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AA7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AEC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AEC#FFFFFF#000000##000000
##AA7AEC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#9E8FA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7aec;
/* rgb */ color: rgb(170, 122, 236);
/* oklch */ color: oklch(67.5% 0.168 301.5);
Tailwind
colors: {
  custom: {
    50: '#c6a1f3',
    500: '#aa7aec',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aec;
$custom-light: #c6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aec",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 265.263,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67526,
    "c": 0.16774,
    "h": 301.5
  },
  "luminance": 0.28521
}

Semantic roles & 50–950 ramp

primary
#AA7AEC
secondary
#E3F1D1
accent
#D70E83
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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