#AA64E5#AA64E5

#AA64E5 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.193 H 306.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA64E5
RGBrgb(170, 100, 229)
HSLhsl(273, 71%, 65%)
HSVhsv(273, 56%, 90%)
CMYKcmyk(25.8%, 56.3%, 0%, 10.2%)
CIE-LABlab(55.40, 51.57, -54.90)
CIE-LCHlch(55.40, 75.32, 313.21°)
OKLaboklab(63.74% 0.1156 -0.1546)
OKLCHoklch(63.74% 0.193 306.8)
XYZxyz(35.2747, 23.3179, 76.7561)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64E5 #9FE564
analogous
#6A64E5 #AA64E5 #E564E0
triadic
#AA64E5 #E5AA64 #64E5AA
tetradic
#AA64E5 #E56A64 #9FE564 #64E0E5
square
#AA64E5 #E56A64 #9FE564 #64E0E5
split-complementary
#AA64E5 #E0E564 #64E56A
monochromatic
#6E1EB1 #8D30DC #AA64E5 #C798EE #E3CDF7

Accessibility & contrast

On white

3.71
#AA64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AA64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64E5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64E5#FFFFFF#000000##000000
##AA64E51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#A17C9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa64e5;
/* rgb */ color: rgb(170, 100, 229);
/* oklch */ color: oklch(63.7% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#c793ee',
    500: '#aa64e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa64e5;
$custom-light: #c793ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64e5",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 272.558,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.19305,
    "h": 306.8
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#AA64E5
secondary
#D1E9BC
accent
#D3126B
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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