#AA6DF8#AA6DF8

#AA6DF8 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.2% C 0.202 H 301.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA6DF8
RGBrgb(170, 109, 248)
HSLhsl(266, 91%, 70%)
HSVhsv(266, 56%, 97%)
CMYKcmyk(31.5%, 56%, 0%, 2.7%)
CIE-LABlab(58.28, 51.31, -60.87)
CIE-LCHlch(58.28, 79.61, 310.13°)
OKLaboklab(66.21% 0.1048 -0.1721)
OKLCHoklch(66.21% 0.202 301.3)
XYZxyz(38.9855, 26.2605, 91.8036)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DF8 #BBF86D
analogous
#6D75F8 #AA6DF8 #F06DF8
triadic
#AA6DF8 #F8AA6D #6DF8AA
tetradic
#AA6DF8 #F86D75 #BBF86D #6DF8F0
square
#AA6DF8 #F86D75 #BBF86D #6DF8F0
split-complementary
#AA6DF8 #F8F06D #75F86D
monochromatic
#680BE0 #8833F5 #AA6DF8 #CCA7FB #EEE2FE

Accessibility & contrast

On white

3.36
#AA6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AA6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DF8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DF8#FFFFFF#000000##000000
##AA6DF81.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#9A89A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6df8;
/* rgb */ color: rgb(170, 109, 248);
/* oklch */ color: oklch(66.2% 0.202 301.3);
Tailwind
colors: {
  custom: {
    50: '#c799fb',
    500: '#aa6df8',
    950: '#000000',
  },
}
SCSS
$custom: #aa6df8;
$custom-light: #c799fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6df8",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 266.331,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.66205,
    "c": 0.20156,
    "h": 301.3
  },
  "luminance": 0.26261
}

Semantic roles & 50–950 ramp

primary
#AA6DF8
secondary
#E3F4CD
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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