#AA6AF7#AA6AF7

#AA6AF7 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.7% C 0.205 H 302.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA6AF7
RGBrgb(170, 106, 247)
HSLhsl(267, 90%, 69%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(31.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(57.63, 52.65, -61.37)
CIE-LCHlch(57.63, 80.86, 310.63°)
OKLaboklab(65.7% 0.1085 -0.1736)
OKLCHoklch(65.7% 0.205 302)
XYZxyz(38.5162, 25.5694, 90.8839)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AF7 #B7F76A
analogous
#6A71F7 #AA6AF7 #F16AF7
triadic
#AA6AF7 #F7AA6A #6AF7AA
tetradic
#AA6AF7 #F76A71 #B7F76A #6AF7F1
square
#AA6AF7 #F76A71 #B7F76A #6AF7F1
split-complementary
#AA6AF7 #F7F16A #71F76A
monochromatic
#6A0CDB #8930F4 #AA6AF7 #CBA4FA #ECDEFD

Accessibility & contrast

On white

3.43
#AA6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AA6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AF7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AF7#FFFFFF#000000##000000
##AA6AF71.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#9B86A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6af7;
/* rgb */ color: rgb(170, 106, 247);
/* oklch */ color: oklch(65.7% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#c797fb',
    500: '#aa6af7',
    950: '#000000',
  },
}
SCSS
$custom: #aa6af7;
$custom-light: #c797fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6af7",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 267.234,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65704,
    "c": 0.2047,
    "h": 302
  },
  "luminance": 0.2557
}

Semantic roles & 50–950 ramp

primary
#AA6AF7
secondary
#E0F3CA
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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