#AA6AF6#AA6AF6

#AA6AF6 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.6% C 0.204 H 302.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA6AF6
RGBrgb(170, 106, 246)
HSLhsl(267, 89%, 69%)
HSVhsv(267, 57%, 96%)
CMYKcmyk(30.9%, 56.9%, 0%, 3.5%)
CIE-LABlab(57.57, 52.41, -60.91)
CIE-LCHlch(57.57, 80.35, 310.71°)
OKLaboklab(65.64% 0.1085 -0.1723)
OKLCHoklch(65.64% 0.204 302.2)
XYZxyz(38.3623, 25.5079, 90.0734)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AF6 #B6F66A
analogous
#6A70F6 #AA6AF6 #F06AF6
triadic
#AA6AF6 #F6AA6A #6AF6AA
tetradic
#AA6AF6 #F66A70 #B6F66A #6AF6F0
square
#AA6AF6 #F66A70 #B6F66A #6AF6F0
split-complementary
#AA6AF6 #F6F06A #70F66A
monochromatic
#6A0DD9 #8930F3 #AA6AF6 #CBA4F9 #ECDDFD

Accessibility & contrast

On white

3.44
#AA6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AA6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AF6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AF6#FFFFFF#000000##000000
##AA6AF61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FB
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#9B86A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6af6;
/* rgb */ color: rgb(170, 106, 246);
/* oklch */ color: oklch(65.6% 0.204 302.2);
Tailwind
colors: {
  custom: {
    50: '#c797fa',
    500: '#aa6af6',
    950: '#000000',
  },
}
SCSS
$custom: #aa6af6;
$custom-light: #c797fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6af6",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 267.429,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.20356,
    "h": 302.2
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#AA6AF6
secondary
#E0F2C9
accent
#E5007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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