#AA64D8#AA64D8

#AA64D8 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.179 H 310.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA64D8
RGBrgb(170, 100, 216)
HSLhsl(276, 60%, 62%)
HSVhsv(276, 54%, 85%)
CMYKcmyk(21.3%, 53.7%, 0%, 15.3%)
CIE-LABlab(54.68, 48.64, -48.72)
CIE-LCHlch(54.68, 68.84, 314.95°)
OKLaboklab(62.97% 0.115 -0.1366)
OKLCHoklch(62.97% 0.179 310.1)
XYZxyz(33.5271, 22.6189, 67.5521)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64D8 #92D864
analogous
#7064D8 #AA64D8 #D864CC
triadic
#AA64D8 #D8AA64 #64D8AA
tetradic
#AA64D8 #D87064 #92D864 #64CCD8
square
#AA64D8 #D87064 #92D864 #64CCD8
split-complementary
#AA64D8 #CCD864 #64D870
monochromatic
#6D279B #8F33CC #AA64D8 #C595E4 #E0C6F1

Accessibility & contrast

On white

3.80
#AA64D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA64D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64D8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64D8#FFFFFF#000000##000000
##AA64D81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#5984D5
Tritanopia (blue-blind)
#A47895
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa64d8;
/* rgb */ color: rgb(170, 100, 216);
/* oklch */ color: oklch(63.0% 0.179 310.1);
Tailwind
colors: {
  custom: {
    50: '#c693e4',
    500: '#aa64d8',
    950: '#000000',
  },
}
SCSS
$custom: #aa64d8;
$custom-light: #c693e4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64d8",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 276.207,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62973,
    "c": 0.17854,
    "h": 310.1
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#AA64D8
secondary
#C7E1B7
accent
#C71E61
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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