#AA6AEF#AA6AEF

#AA6AEF is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.196 H 303.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA6AEF
RGBrgb(170, 106, 239)
HSLhsl(269, 81%, 68%)
HSVhsv(269, 56%, 94%)
CMYKcmyk(28.9%, 55.6%, 0%, 6.3%)
CIE-LABlab(57.16, 50.75, -57.67)
CIE-LCHlch(57.16, 76.82, 311.35°)
OKLaboklab(65.21% 0.1084 -0.1628)
OKLCHoklch(65.21% 0.196 303.7)
XYZxyz(37.3081, 25.0862, 84.5213)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AEF #AFEF6A
analogous
#6A6DEF #AA6AEF #EC6AEF
triadic
#AA6AEF #EFAA6A #6AEFAA
tetradic
#AA6AEF #EF6A6D #AFEF6A #6AEFEC
square
#AA6AEF #EF6A6D #AFEF6A #6AEFEC
split-complementary
#AA6AEF #EFEC6A #6DEF6A
monochromatic
#6C16C9 #8A33E9 #AA6AEF #CAA1F5 #E9D9FB

Accessibility & contrast

On white

3.49
#AA6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AA6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AEF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AEF#FFFFFF#000000##000000
##AA6AEF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#9D84A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6aef;
/* rgb */ color: rgb(170, 106, 239);
/* oklch */ color: oklch(65.2% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#c797f5',
    500: '#aa6aef',
    950: '#000000',
  },
}
SCSS
$custom: #aa6aef;
$custom-light: #c797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6aef",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 268.872,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65212,
    "c": 0.19553,
    "h": 303.7
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#AA6AEF
secondary
#DBEFC6
accent
#DD0977
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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