#AA66E7#AA66E7

#AA66E7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.192 H 306.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA66E7
RGBrgb(170, 102, 231)
HSLhsl(272, 73%, 65%)
HSVhsv(272, 56%, 91%)
CMYKcmyk(26.4%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.91, 50.98, -55.21)
CIE-LCHlch(55.91, 75.15, 312.72°)
OKLaboklab(64.14% 0.1131 -0.1555)
OKLCHoklch(64.14% 0.192 306)
XYZxyz(35.7497, 23.8186, 78.2999)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66E7 #A3E766
analogous
#6966E7 #AA66E7 #E766E3
triadic
#AA66E7 #E7AA66 #66E7AA
tetradic
#AA66E7 #E76966 #A3E766 #66E3E7
square
#AA66E7 #E76966 #A3E766 #66E3E7
split-complementary
#AA66E7 #E3E766 #66E769
monochromatic
#6D1DB6 #8D31DF #AA66E7 #C79BEF #E5D0F8

Accessibility & contrast

On white

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

On black

5.76
#AA66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66E7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66E7#FFFFFF#000000##000000
##AA66E71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#A07E9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa66e7;
/* rgb */ color: rgb(170, 102, 231);
/* oklch */ color: oklch(64.1% 0.192 306.0);
Tailwind
colors: {
  custom: {
    50: '#c794ef',
    500: '#aa66e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa66e7;
$custom-light: #c794ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66e7",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 271.628,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.19233,
    "h": 306
  },
  "luminance": 0.23818
}

Semantic roles & 50–950 ramp

primary
#AA66E7
secondary
#D3EABF
accent
#D5116D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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