#AA66EC#AA66EC

#AA66EC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.198 H 304.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA66EC
RGBrgb(170, 102, 236)
HSLhsl(270, 78%, 66%)
HSVhsv(270, 57%, 93%)
CMYKcmyk(28%, 56.8%, 0%, 7.5%)
CIE-LABlab(56.19, 52.14, -57.55)
CIE-LCHlch(56.19, 77.65, 312.18°)
OKLaboklab(64.45% 0.1132 -0.1624)
OKLCHoklch(64.45% 0.198 304.9)
XYZxyz(36.4660, 24.1051, 82.0723)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66EC #A8EC66
analogous
#6766EC #AA66EC #EC66EB
triadic
#AA66EC #ECAA66 #66ECAA
tetradic
#AA66EC #EC6766 #A8EC66 #66EBEC
square
#AA66EC #EC6766 #A8EC66 #66EBEC
split-complementary
#AA66EC #EBEC66 #66EC67
monochromatic
#6D18C0 #8C30E5 #AA66EC #C89CF3 #E6D3FA

Accessibility & contrast

On white

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

On black

5.82
#AA66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66EC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66EC#FFFFFF#000000##000000
##AA66EC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#9F809F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa66ec;
/* rgb */ color: rgb(170, 102, 236);
/* oklch */ color: oklch(64.4% 0.198 304.9);
Tailwind
colors: {
  custom: {
    50: '#c794f3',
    500: '#aa66ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa66ec;
$custom-light: #c794f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66ec",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 270.448,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64447,
    "c": 0.19797,
    "h": 304.9
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#AA66EC
secondary
#D7EDC1
accent
#DA0B71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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