#AA64F8#AA64F8

#AA64F8 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.214 H 302.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA64F8
RGBrgb(170, 100, 248)
HSLhsl(268, 91%, 68%)
HSVhsv(268, 60%, 97%)
CMYKcmyk(31.5%, 59.7%, 0%, 2.7%)
CIE-LABlab(56.52, 55.98, -63.69)
CIE-LCHlch(56.52, 84.80, 311.31°)
OKLaboklab(64.92% 0.1155 -0.1804)
OKLCHoklch(64.92% 0.214 302.6)
XYZxyz(38.0741, 24.4377, 91.4998)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64F8 #B2F864
analogous
#6468F8 #AA64F8 #F464F8
triadic
#AA64F8 #F8AA64 #64F8AA
tetradic
#AA64F8 #F86468 #B2F864 #64F8F4
square
#AA64F8 #F86468 #B2F864 #64F8F4
split-complementary
#AA64F8 #F8F464 #68F864
monochromatic
#6B0AD8 #8A29F5 #AA64F8 #CA9FFB #EAD9FD

Accessibility & contrast

On white

3.57
#AA64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AA64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64F8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64F8#FFFFFF#000000##000000
##AA64F81.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FD
Deuteranopia (green-blind)
#3B87F5
Tritanopia (blue-blind)
#9B83A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa64f8;
/* rgb */ color: rgb(170, 100, 248);
/* oklch */ color: oklch(64.9% 0.214 302.6);
Tailwind
colors: {
  custom: {
    50: '#c893fb',
    500: '#aa64f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa64f8;
$custom-light: #c893fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64f8",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 268.378,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64918,
    "c": 0.21425,
    "h": 302.6
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#AA64F8
secondary
#DDF2C5
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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