#AA6DF6#AA6DF6

#AA6DF6 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.1% C 0.199 H 301.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA6DF6
RGBrgb(170, 109, 246)
HSLhsl(267, 88%, 70%)
HSVhsv(267, 56%, 96%)
CMYKcmyk(30.9%, 55.7%, 0%, 3.5%)
CIE-LABlab(58.17, 50.83, -59.95)
CIE-LCHlch(58.17, 78.60, 310.30°)
OKLaboklab(66.08% 0.1048 -0.1694)
OKLCHoklch(66.08% 0.199 301.7)
XYZxyz(38.6769, 26.1370, 90.1782)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DF6 #B9F66D
analogous
#6D75F6 #AA6DF6 #EE6DF6
triadic
#AA6DF6 #F6AA6D #6DF6AA
tetradic
#AA6DF6 #F66D75 #B9F66D #6DF6EE
square
#AA6DF6 #F66D75 #B9F66D #6DF6EE
split-complementary
#AA6DF6 #F6EE6D #75F66D
monochromatic
#690EDB #8833F2 #AA6DF6 #CCA7FA #EDE0FD

Accessibility & contrast

On white

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

On black

6.23
#AA6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DF6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DF6#FFFFFF#000000##000000
##AA6DF61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFB
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#9B88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6df6;
/* rgb */ color: rgb(170, 109, 246);
/* oklch */ color: oklch(66.1% 0.199 301.7);
Tailwind
colors: {
  custom: {
    50: '#c799fa',
    500: '#aa6df6',
    950: '#000000',
  },
}
SCSS
$custom: #aa6df6;
$custom-light: #c799fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6df6",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 266.715,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66082,
    "c": 0.19924,
    "h": 301.7
  },
  "luminance": 0.26137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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