#AA7AE2#AA7AE2

#AA7AE2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.155 H 303.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AA7AE2
RGBrgb(170, 122, 226)
HSLhsl(268, 64%, 68%)
HSVhsv(268, 46%, 89%)
CMYKcmyk(24.8%, 46%, 0%, 11.4%)
CIE-LABlab(59.85, 39.01, -46.15)
CIE-LCHlch(59.85, 60.42, 310.21°)
OKLaboklab(66.98% 0.0865 -0.1291)
OKLCHoklch(66.98% 0.155 303.8)
XYZxyz(37.2616, 27.9562, 75.3698)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AE2 #B2E27A
analogous
#7A7EE2 #AA7AE2 #DE7AE2
triadic
#AA7AE2 #E2AA7A #7AE2AA
tetradic
#AA7AE2 #E27A7E #B2E27A #7AE2DE
square
#AA7AE2 #E27A7E #B2E27A #7AE2DE
split-complementary
#AA7AE2 #E2DE7A #7EE27A
monochromatic
#6B28B9 #8A48D7 #AA7AE2 #CAACED #EADEF8

Accessibility & contrast

On white

3.19
#AA7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AA7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AE2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AE2#FFFFFF#000000##000000
##AA7AE21.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#A08CA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7ae2;
/* rgb */ color: rgb(170, 122, 226);
/* oklch */ color: oklch(67.0% 0.155 303.8);
Tailwind
colors: {
  custom: {
    50: '#c5a1eb',
    500: '#aa7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ae2;
$custom-light: #c5a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ae2",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 267.692,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66982,
    "c": 0.15541,
    "h": 303.8
  },
  "luminance": 0.27956
}

Semantic roles & 50–950 ramp

primary
#AA7AE2
secondary
#DDECCC
accent
#CC197A
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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