#AA6AEA#AA6AEA

#AA6AEA is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.190 H 304.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA6AEA
RGBrgb(170, 106, 234)
HSLhsl(270, 75%, 67%)
HSVhsv(270, 55%, 92%)
CMYKcmyk(27.4%, 54.7%, 0%, 8.2%)
CIE-LABlab(56.87, 49.58, -55.34)
CIE-LCHlch(56.87, 74.30, 311.86°)
OKLaboklab(64.91% 0.1082 -0.1559)
OKLCHoklch(64.91% 0.19 304.8)
XYZxyz(36.5797, 24.7948, 80.6847)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AEA #AAEA6A
analogous
#6A6AEA #AA6AEA #EA6AEA
triadic
#AA6AEA #EAAA6A #6AEAAA
tetradic
#AA6AEA #EA6A6A #AAEA6A #6AEAEA
square
#AA6AEA #EA6A6A #AAEA6A #6AEAEA
split-complementary
#AA6AEA #EAEA6A #6AEA6A
monochromatic
#6D1BBF #8B34E2 #AA6AEA #C9A0F2 #E7D5F9

Accessibility & contrast

On white

3.52
#AA6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AA6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AEA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AEA#FFFFFF#000000##000000
##AA6AEA1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#5289E7
Tritanopia (blue-blind)
#9F82A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa6aea;
/* rgb */ color: rgb(170, 106, 234);
/* oklch */ color: oklch(64.9% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#c797f1',
    500: '#aa6aea',
    950: '#000000',
  },
}
SCSS
$custom: #aa6aea;
$custom-light: #c797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6aea",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64911,
    "c": 0.1898,
    "h": 304.8
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#AA6AEA
secondary
#D8EDC3
accent
#D70E73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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