#AA6AEC#AA6AEC

#AA6AEC is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.192 H 304.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA6AEC
RGBrgb(170, 106, 236)
HSLhsl(270, 77%, 67%)
HSVhsv(270, 55%, 93%)
CMYKcmyk(28%, 55.1%, 0%, 7.5%)
CIE-LABlab(56.99, 50.05, -56.27)
CIE-LCHlch(56.99, 75.31, 311.65°)
OKLaboklab(65.03% 0.1083 -0.1587)
OKLCHoklch(65.03% 0.192 304.3)
XYZxyz(36.8686, 24.9104, 82.2065)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AEC #ACEC6A
analogous
#6A6BEC #AA6AEC #EB6AEC
triadic
#AA6AEC #ECAA6A #6AECAA
tetradic
#AA6AEC #EC6A6B #ACEC6A #6AECEB
square
#AA6AEC #EC6A6B #ACEC6A #6AECEB
split-complementary
#AA6AEC #ECEB6A #6BEC6A
monochromatic
#6C19C3 #8B34E5 #AA6AEC #C9A0F3 #E8D7FA

Accessibility & contrast

On white

3.51
#AA6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AA6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AEC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AEC#FFFFFF#000000##000000
##AA6AEC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#9E83A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6aec;
/* rgb */ color: rgb(170, 106, 236);
/* oklch */ color: oklch(65.0% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#aa6aec',
    950: '#000000',
  },
}
SCSS
$custom: #aa6aec;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6aec",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 269.538,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.1921,
    "h": 304.3
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#AA6AEC
secondary
#D9EEC4
accent
#DA0C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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