#AA66CF#AA66CF

#AA66CF is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.8% C 0.165 H 312.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AA66CF
RGBrgb(170, 102, 207)
HSLhsl(279, 52%, 61%)
HSVhsv(279, 51%, 81%)
CMYKcmyk(17.9%, 50.7%, 0%, 18.8%)
CIE-LABlab(54.61, 45.60, -43.72)
CIE-LCHlch(54.61, 63.18, 316.21°)
OKLaboklab(62.77% 0.1116 -0.122)
OKLCHoklch(62.77% 0.165 312.4)
XYZxyz(32.5895, 22.5545, 61.6561)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66CF #8BCF66
analogous
#7566CF #AA66CF #CF66C0
triadic
#AA66CF #CFAA66 #66CFAA
tetradic
#AA66CF #CF7566 #8BCF66 #66C0CF
square
#AA66CF #CF7566 #8BCF66 #66C0CF
split-complementary
#AA66CF #C0CF66 #66CF75
monochromatic
#6C2D8E #8F3BBD #AA66CF #C495DE #DEC3EC

Accessibility & contrast

On white

3.81
#AA66CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AA66CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66CF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66CF#FFFFFF#000000##000000
##AA66CF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#6184CC
Tritanopia (blue-blind)
#A67791
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa66cf;
/* rgb */ color: rgb(170, 102, 207);
/* oklch */ color: oklch(62.8% 0.165 312.4);
Tailwind
colors: {
  custom: {
    50: '#c594de',
    500: '#aa66cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa66cf;
$custom-light: #c594de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66cf",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 278.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.16532,
    "h": 312.4
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#AA66CF
secondary
#C3DCB4
accent
#C0265C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AA66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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