#AA6CEE#AA6CEE

#AA6CEE is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.191 H 303.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA6CEE
RGBrgb(170, 108, 238)
HSLhsl(269, 79%, 68%)
HSVhsv(269, 55%, 93%)
CMYKcmyk(28.6%, 54.6%, 0%, 6.7%)
CIE-LABlab(57.51, 49.46, -56.56)
CIE-LCHlch(57.51, 75.13, 311.17°)
OKLaboklab(65.45% 0.1058 -0.1595)
OKLCHoklch(65.45% 0.191 303.6)
XYZxyz(37.3693, 25.4443, 83.8149)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CEE #B0EE6C
analogous
#6C6FEE #AA6CEE #EB6CEE
triadic
#AA6CEE #EEAA6C #6CEEAA
tetradic
#AA6CEE #EE6C6F #B0EE6C #6CEEEB
square
#AA6CEE #EE6C6F #B0EE6C #6CEEEB
split-complementary
#AA6CEE #EEEB6C #6FEE6C
monochromatic
#6C17C8 #8A35E8 #AA6CEE #CAA3F4 #E9DAFB

Accessibility & contrast

On white

3.45
#AA6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AA6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CEE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CEE#FFFFFF#000000##000000
##AA6CEE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#9E85A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6cee;
/* rgb */ color: rgb(170, 108, 238);
/* oklch */ color: oklch(65.4% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#c798f4',
    500: '#aa6cee',
    950: '#000000',
  },
}
SCSS
$custom: #aa6cee;
$custom-light: #c798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6cee",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 268.615,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.19143,
    "h": 303.6
  },
  "luminance": 0.25444
}

Semantic roles & 50–950 ramp

primary
#AA6CEE
secondary
#DCEFC7
accent
#DC0A78
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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