#AA66EF#AA66EF

#AA66EF is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.6% C 0.201 H 304.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AA66EF
RGBrgb(170, 102, 239)
HSLhsl(270, 81%, 67%)
HSVhsv(270, 57%, 94%)
CMYKcmyk(28.9%, 57.3%, 0%, 6.3%)
CIE-LABlab(56.37, 52.84, -58.94)
CIE-LCHlch(56.37, 79.16, 311.88°)
OKLaboklab(64.63% 0.1133 -0.1665)
OKLCHoklch(64.63% 0.201 304.2)
XYZxyz(36.9055, 24.2809, 84.3870)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66EF #ABEF66
analogous
#6667EF #AA66EF #EF66EF
triadic
#AA66EF #EFAA66 #66EFAA
tetradic
#AA66EF #EF6667 #ABEF66 #66EFEF
square
#AA66EF #EF6667 #ABEF66 #66EFEF
split-complementary
#AA66EF #EFEF66 #67EF66
monochromatic
#6D15C6 #8B2FE9 #AA66EF #C99DF5 #E8D5FB

Accessibility & contrast

On white

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

On black

5.86
#AA66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66EF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66EF#FFFFFF#000000##000000
##AA66EF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#9E81A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa66ef;
/* rgb */ color: rgb(170, 102, 239);
/* oklch */ color: oklch(64.6% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#c794f5',
    500: '#aa66ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa66ef;
$custom-light: #c794f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66ef",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 269.781,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.20135,
    "h": 304.2
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#AA66EF
secondary
#D9EEC2
accent
#DD0874
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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