#AA66DB#AA66DB

#AA66DB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.4% C 0.179 H 309.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA66DB
RGBrgb(170, 102, 219)
HSLhsl(275, 62%, 63%)
HSVhsv(275, 53%, 86%)
CMYKcmyk(22.4%, 53.4%, 0%, 14.1%)
CIE-LABlab(55.24, 48.26, -49.52)
CIE-LCHlch(55.24, 69.14, 314.26°)
OKLaboklab(63.44% 0.1126 -0.1389)
OKLCHoklch(63.44% 0.179 309)
XYZxyz(34.1126, 23.1638, 69.6781)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66DB #97DB66
analogous
#6F66DB #AA66DB #DB66D1
triadic
#AA66DB #DBAA66 #66DBAA
tetradic
#AA66DB #DB6F66 #97DB66 #66D1DB
square
#AA66DB #DB6F66 #97DB66 #66D1DB
split-complementary
#AA66DB #D1DB66 #66DB6F
monochromatic
#6D26A1 #8E34CF #AA66DB #C698E7 #E1C9F2

Accessibility & contrast

On white

3.73
#AA66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AA66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66DB#FFFFFF#000000##000000
##AA66DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#A37B97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa66db;
/* rgb */ color: rgb(170, 102, 219);
/* oklch */ color: oklch(63.4% 0.179 309.0);
Tailwind
colors: {
  custom: {
    50: '#c694e7',
    500: '#aa66db',
    950: '#000000',
  },
}
SCSS
$custom: #aa66db;
$custom-light: #c694e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66db",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 274.872,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6344,
    "c": 0.1788,
    "h": 309
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#AA66DB
secondary
#CBE3B9
accent
#CA1C65
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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