#AA6DF2#AA6DF2

#AA6DF2 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.195 H 302.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA6DF2
RGBrgb(170, 109, 242)
HSLhsl(268, 84%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.8%, 55%, 0%, 5.1%)
CIE-LABlab(57.94, 49.88, -58.10)
CIE-LCHlch(57.94, 76.57, 310.65°)
OKLaboklab(65.84% 0.1047 -0.164)
OKLCHoklch(65.84% 0.195 302.6)
XYZxyz(38.0696, 25.8941, 86.9796)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DF2 #B5F26D
analogous
#6D73F2 #AA6DF2 #ED6DF2
triadic
#AA6DF2 #F2AA6D #6DF2AA
tetradic
#AA6DF2 #F26D73 #B5F26D #6DF2ED
square
#AA6DF2 #F26D73 #B5F26D #6DF2ED
split-complementary
#AA6DF2 #F2ED6D #73F26D
monochromatic
#6A13D2 #8935ED #AA6DF2 #CBA5F7 #EBDDFC

Accessibility & contrast

On white

3.40
#AA6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AA6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DF2#FFFFFF#000000##000000
##AA6DF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#9C87A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6df2;
/* rgb */ color: rgb(170, 109, 242);
/* oklch */ color: oklch(65.8% 0.195 302.6);
Tailwind
colors: {
  custom: {
    50: '#c799f7',
    500: '#aa6df2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6df2;
$custom-light: #c799f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6df2",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 267.519,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.1946,
    "h": 302.6
  },
  "luminance": 0.25894
}

Semantic roles & 50–950 ramp

primary
#AA6DF2
secondary
#DFF1CA
accent
#E0057C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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