#AA64F5#AA64F5

#AA64F5 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.211 H 303.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AA64F5
RGBrgb(170, 100, 245)
HSLhsl(269, 88%, 68%)
HSVhsv(269, 59%, 96%)
CMYKcmyk(30.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(56.34, 55.27, -62.32)
CIE-LCHlch(56.34, 83.30, 311.57°)
OKLaboklab(64.73% 0.1156 -0.1764)
OKLCHoklch(64.73% 0.211 303.2)
XYZxyz(37.6124, 24.2530, 89.0683)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64F5 #AFF564
analogous
#6466F5 #AA64F5 #F364F5
triadic
#AA64F5 #F5AA64 #64F5AA
tetradic
#AA64F5 #F56466 #AFF564 #64F5F3
square
#AA64F5 #F56466 #AFF564 #64F5F3
split-complementary
#AA64F5 #F5F364 #66F564
monochromatic
#6C0DD1 #8A2BF1 #AA64F5 #CA9DF9 #E9D7FC

Accessibility & contrast

On white

3.59
#AA64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AA64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64F5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64F5#FFFFFF#000000##000000
##AA64F51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1686FA
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#9C82A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa64f5;
/* rgb */ color: rgb(170, 100, 245);
/* oklch */ color: oklch(64.7% 0.211 303.2);
Tailwind
colors: {
  custom: {
    50: '#c793f9',
    500: '#aa64f5',
    950: '#000000',
  },
}
SCSS
$custom: #aa64f5;
$custom-light: #c793f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64f5",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 268.966,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64726,
    "c": 0.2109,
    "h": 303.2
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#AA64F5
secondary
#DBF1C4
accent
#E40177
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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