#AA66DF#AA66DF

#AA66DF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.183 H 308.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AA66DF
RGBrgb(170, 102, 223)
HSLhsl(274, 65%, 64%)
HSVhsv(274, 54%, 87%)
CMYKcmyk(23.8%, 54.3%, 0%, 12.5%)
CIE-LABlab(55.46, 49.16, -51.43)
CIE-LCHlch(55.46, 71.14, 313.71°)
OKLaboklab(63.67% 0.1128 -0.1445)
OKLCHoklch(63.67% 0.183 308)
XYZxyz(34.6456, 23.3770, 72.4848)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66DF #9BDF66
analogous
#6D66DF #AA66DF #DF66D7
triadic
#AA66DF #DFAA66 #66DFAA
tetradic
#AA66DF #DF6D66 #9BDF66 #66D7DF
square
#AA66DF #DF6D66 #9BDF66 #66D7DF
split-complementary
#AA66DF #D7DF66 #66DF6D
monochromatic
#6E23A8 #8E33D4 #AA66DF #C699EA #E2CBF4

Accessibility & contrast

On white

3.70
#AA66DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AA66DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66DF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66DF#FFFFFF#000000##000000
##AA66DF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#5686DC
Tritanopia (blue-blind)
#A27C99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa66df;
/* rgb */ color: rgb(170, 102, 223);
/* oklch */ color: oklch(63.7% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#c694e9',
    500: '#aa66df',
    950: '#000000',
  },
}
SCSS
$custom: #aa66df;
$custom-light: #c694e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66df",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 273.719,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63671,
    "c": 0.1833,
    "h": 308
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#AA66DF
secondary
#CEE6BB
accent
#CD1868
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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