#AA66DC#AA66DC

#AA66DC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.180 H 308.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AA66DC
RGBrgb(170, 102, 220)
HSLhsl(275, 63%, 63%)
HSVhsv(275, 54%, 86%)
CMYKcmyk(22.7%, 53.6%, 0%, 13.7%)
CIE-LABlab(55.29, 48.48, -50.00)
CIE-LCHlch(55.29, 69.64, 314.12°)
OKLaboklab(63.5% 0.1126 -0.1403)
OKLCHoklch(63.5% 0.18 308.8)
XYZxyz(34.2447, 23.2166, 70.3735)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66DC #98DC66
analogous
#6F66DC #AA66DC #DC66D3
triadic
#AA66DC #DCAA66 #66DCAA
tetradic
#AA66DC #DC6F66 #98DC66 #66D3DC
square
#AA66DC #DC6F66 #98DC66 #66D3DC
split-complementary
#AA66DC #D3DC66 #66DC6F
monochromatic
#6D25A2 #8E34D1 #AA66DC #C698E7 #E1CAF3

Accessibility & contrast

On white

3.72
#AA66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AA66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66DC#FFFFFF#000000##000000
##AA66DC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#5985D9
Tritanopia (blue-blind)
#A37B97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa66dc;
/* rgb */ color: rgb(170, 102, 220);
/* oklch */ color: oklch(63.5% 0.180 308.8);
Tailwind
colors: {
  custom: {
    50: '#c694e7',
    500: '#aa66dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa66dc;
$custom-light: #c694e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66dc",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 274.576,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.17993,
    "h": 308.8
  },
  "luminance": 0.23216
}

Semantic roles & 50–950 ramp

primary
#AA66DC
secondary
#CCE4BA
accent
#CB1B65
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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