#AA66E9#AA66E9

#AA66E9 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.195 H 305.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA66E9
RGBrgb(170, 102, 233)
HSLhsl(271, 75%, 66%)
HSVhsv(271, 56%, 91%)
CMYKcmyk(27%, 56.2%, 0%, 8.6%)
CIE-LABlab(56.02, 51.45, -56.15)
CIE-LCHlch(56.02, 76.15, 312.50°)
OKLaboklab(64.27% 0.1132 -0.1583)
OKLCHoklch(64.27% 0.195 305.6)
XYZxyz(36.0338, 23.9322, 79.7961)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66E9 #A5E966
analogous
#6866E9 #AA66E9 #E966E6
triadic
#AA66E9 #E9AA66 #66E9AA
tetradic
#AA66E9 #E96866 #A5E966 #66E6E9
square
#AA66E9 #E96866 #A5E966 #66E6E9
split-complementary
#AA66E9 #E6E966 #66E968
monochromatic
#6D1BBA #8C30E1 #AA66E9 #C89CF1 #E5D1F8

Accessibility & contrast

On white

3.63
#AA66E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AA66E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66E9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66E9#FFFFFF#000000##000000
##AA66E91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484ED
Deuteranopia (green-blind)
#4E87E6
Tritanopia (blue-blind)
#9F7F9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa66e9;
/* rgb */ color: rgb(170, 102, 233);
/* oklch */ color: oklch(64.3% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#c794f1',
    500: '#aa66e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa66e9;
$custom-light: #c794f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66e9",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 271.145,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64265,
    "c": 0.19459,
    "h": 305.6
  },
  "luminance": 0.23932
}

Semantic roles & 50–950 ramp

primary
#AA66E9
secondary
#D5EBC0
accent
#D70E6F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA66E9

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

Preview Lab → · Contrast checker → · Palette generator →

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