#AA6AF9#AA6AF9

#AA6AF9 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.8% C 0.207 H 301.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA6AF9
RGBrgb(170, 106, 249)
HSLhsl(267, 92%, 70%)
HSVhsv(267, 57%, 98%)
CMYKcmyk(31.7%, 57.4%, 0%, 2.4%)
CIE-LABlab(57.74, 53.13, -62.28)
CIE-LCHlch(57.74, 81.87, 310.46°)
OKLaboklab(65.83% 0.1085 -0.1763)
OKLCHoklch(65.83% 0.207 301.6)
XYZxyz(38.8265, 25.6935, 92.5180)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AF9 #B9F96A
analogous
#6A72F9 #AA6AF9 #F16AF9
triadic
#AA6AF9 #F9AA6A #6AF9AA
tetradic
#AA6AF9 #F96A72 #B9F96A #6AF9F1
square
#AA6AF9 #F96A72 #B9F96A #6AF9F1
split-complementary
#AA6AF9 #F9F16A #72F96A
monochromatic
#6909E0 #882FF7 #AA6AF9 #CCA5FB #EDE0FE

Accessibility & contrast

On white

3.42
#AA6AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AA6AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AF9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AF9#FFFFFF#000000##000000
##AA6AF91.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFE
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#9A87A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6af9;
/* rgb */ color: rgb(170, 106, 249);
/* oklch */ color: oklch(65.8% 0.207 301.6);
Tailwind
colors: {
  custom: {
    50: '#c797fc',
    500: '#aa6af9',
    950: '#000000',
  },
}
SCSS
$custom: #aa6af9;
$custom-light: #c797fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6af9",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 266.853,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6583,
    "c": 0.20699,
    "h": 301.6
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#AA6AF9
secondary
#E2F4CB
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA6AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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