#AA6AF5#AA6AF5

#AA6AF5 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.6% C 0.202 H 302.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA6AF5
RGBrgb(170, 106, 245)
HSLhsl(268, 87%, 69%)
HSVhsv(268, 57%, 96%)
CMYKcmyk(30.6%, 56.7%, 0%, 3.9%)
CIE-LABlab(57.51, 52.17, -60.45)
CIE-LCHlch(57.51, 79.85, 310.80°)
OKLaboklab(65.58% 0.1084 -0.1709)
OKLCHoklch(65.58% 0.202 302.4)
XYZxyz(38.2092, 25.4466, 89.2672)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AF5 #B5F56A
analogous
#6A70F5 #AA6AF5 #F06AF5
triadic
#AA6AF5 #F5AA6A #6AF5AA
tetradic
#AA6AF5 #F56A70 #B5F56A #6AF5F0
square
#AA6AF5 #F56A70 #B5F56A #6AF5F0
split-complementary
#AA6AF5 #F5F06A #70F56A
monochromatic
#6A0ED6 #8931F1 #AA6AF5 #CBA3F9 #EBDDFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA6AF5#FFFFFF#000000##000000
##AA6AF51.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)
#2D89FA
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#9C86A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6af5;
/* rgb */ color: rgb(170, 106, 245);
/* oklch */ color: oklch(65.6% 0.202 302.4);
Tailwind
colors: {
  custom: {
    50: '#c797f9',
    500: '#aa6af5',
    950: '#000000',
  },
}
SCSS
$custom: #aa6af5;
$custom-light: #c797f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6af5",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 267.626,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.20242,
    "h": 302.4
  },
  "luminance": 0.25447
}

Semantic roles & 50–950 ramp

primary
#AA6AF5
secondary
#DFF2C9
accent
#E4027C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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