#AA66E8#AA66E8

#AA66E8 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.193 H 305.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AA66E8
RGBrgb(170, 102, 232)
HSLhsl(271, 74%, 65%)
HSVhsv(271, 56%, 91%)
CMYKcmyk(26.7%, 56%, 0%, 9%)
CIE-LABlab(55.96, 51.21, -55.68)
CIE-LCHlch(55.96, 75.65, 312.61°)
OKLaboklab(64.2% 0.1132 -0.1569)
OKLCHoklch(64.2% 0.193 305.8)
XYZxyz(35.8913, 23.8753, 79.0459)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66E8 #A4E866
analogous
#6966E8 #AA66E8 #E866E5
triadic
#AA66E8 #E8AA66 #66E8AA
tetradic
#AA66E8 #E86966 #A4E866 #66E5E8
square
#AA66E8 #E86966 #A4E866 #66E5E8
split-complementary
#AA66E8 #E5E866 #66E869
monochromatic
#6D1CB8 #8C31E0 #AA66E8 #C89BF0 #E5D0F8

Accessibility & contrast

On white

3.64
#AA66E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AA66E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66E8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66E8#FFFFFF#000000##000000
##AA66E81.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#4F86E5
Tritanopia (blue-blind)
#A07F9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa66e8;
/* rgb */ color: rgb(170, 102, 232);
/* oklch */ color: oklch(64.2% 0.193 305.8);
Tailwind
colors: {
  custom: {
    50: '#c794f0',
    500: '#aa66e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa66e8;
$custom-light: #c794f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66e8",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 271.385,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.19347,
    "h": 305.8
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#AA66E8
secondary
#D4EBBF
accent
#D6106E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA66E8

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

Preview Lab → · Contrast checker → · Palette generator →

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