#AA66FF#AA66FF

#AA66FF is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.6% C 0.219 H 301.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA66FF
RGBrgb(170, 102, 255)
HSLhsl(267, 100%, 70%)
HSVhsv(267, 60%, 100%)
CMYKcmyk(33.3%, 60%, 0%, 0%)
CIE-LABlab(57.34, 56.63, -66.26)
CIE-LCHlch(57.34, 87.16, 310.52°)
OKLaboklab(65.65% 0.113 -0.188)
OKLCHoklch(65.65% 0.219 301)
XYZxyz(39.3746, 25.2686, 97.3913)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66FF #BBFF66
analogous
#666EFF #AA66FF #F766FF
triadic
#AA66FF #FFAA66 #66FFAA
tetradic
#AA66FF #FF666E #BBFF66 #66FFF7
square
#AA66FF #FF666E #BBFF66 #66FFF7
split-complementary
#AA66FF #FFF766 #6EFF66
monochromatic
#6800EB #8829FF #AA66FF #CCA3FF #EEE0FF

Accessibility & contrast

On white

3.47
#AA66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AA66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66FF#FFFFFF#000000##000000
##AA66FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3489FC
Tritanopia (blue-blind)
#9886A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa66ff;
/* rgb */ color: rgb(170, 102, 255);
/* oklch */ color: oklch(65.6% 0.219 301.0);
Tailwind
colors: {
  custom: {
    50: '#c895ff',
    500: '#aa66ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa66ff;
$custom-light: #c895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66ff",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 266.667,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.21932,
    "h": 301
  },
  "luminance": 0.25269
}

Semantic roles & 50–950 ramp

primary
#AA66FF
secondary
#E3F6CB
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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