#AA6DF7#AA6DF7

#AA6DF7 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.1% C 0.200 H 301.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA6DF7
RGBrgb(170, 109, 247)
HSLhsl(267, 90%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(31.2%, 55.9%, 0%, 3.1%)
CIE-LABlab(58.23, 51.07, -60.41)
CIE-LCHlch(58.23, 79.10, 310.21°)
OKLaboklab(66.14% 0.1048 -0.1708)
OKLCHoklch(66.14% 0.2 301.5)
XYZxyz(38.8308, 26.1986, 90.9888)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DF7 #BAF76D
analogous
#6D75F7 #AA6DF7 #EF6DF7
triadic
#AA6DF7 #F7AA6D #6DF7AA
tetradic
#AA6DF7 #F76D75 #BAF76D #6DF7EF
square
#AA6DF7 #F76D75 #BAF76D #6DF7EF
split-complementary
#AA6DF7 #F7EF6D #75F76D
monochromatic
#690CDD #8833F4 #AA6DF7 #CCA7FA #EEE1FD

Accessibility & contrast

On white

3.37
#AA6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AA6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DF7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DF7#FFFFFF#000000##000000
##AA6DF71.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#9B88A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6df7;
/* rgb */ color: rgb(170, 109, 247);
/* oklch */ color: oklch(66.1% 0.200 301.5);
Tailwind
colors: {
  custom: {
    50: '#c799fa',
    500: '#aa6df7',
    950: '#000000',
  },
}
SCSS
$custom: #aa6df7;
$custom-light: #c799fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6df7",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 266.522,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.2004,
    "h": 301.5
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

primary
#AA6DF7
secondary
#E2F3CC
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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