#AA64F2#AA64F2

#AA64F2 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.5% C 0.208 H 303.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AA64F2
RGBrgb(170, 100, 242)
HSLhsl(270, 85%, 67%)
HSVhsv(270, 59%, 95%)
CMYKcmyk(29.8%, 58.7%, 0%, 5.1%)
CIE-LABlab(56.16, 54.57, -60.94)
CIE-LCHlch(56.16, 81.81, 311.84°)
OKLaboklab(64.54% 0.1157 -0.1724)
OKLCHoklch(64.54% 0.208 303.9)
XYZxyz(37.1582, 24.0713, 86.6758)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64F2 #ACF264
analogous
#6465F2 #AA64F2 #F164F2
triadic
#AA64F2 #F2AA64 #64F2AA
tetradic
#AA64F2 #F26465 #ACF264 #64F2F1
square
#AA64F2 #F26465 #ACF264 #64F2F1
split-complementary
#AA64F2 #F2F164 #65F264
monochromatic
#6C11CB #8B2CED #AA64F2 #C99CF7 #E8D5FB

Accessibility & contrast

On white

3.61
#AA64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AA64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64F2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64F2#FFFFFF#000000##000000
##AA64F21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#9D81A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa64f2;
/* rgb */ color: rgb(170, 100, 242);
/* oklch */ color: oklch(64.5% 0.208 303.9);
Tailwind
colors: {
  custom: {
    50: '#c793f7',
    500: '#aa64f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa64f2;
$custom-light: #c793f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64f2",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 269.577,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64536,
    "c": 0.20757,
    "h": 303.9
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#AA64F2
secondary
#D9EFC2
accent
#E10574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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