#AA6AF2#AA6AF2

#AA6AF2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.199 H 303.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA6AF2
RGBrgb(170, 106, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.8%, 56.2%, 0%, 5.1%)
CIE-LABlab(57.33, 51.46, -59.06)
CIE-LCHlch(57.33, 78.34, 311.06°)
OKLaboklab(65.4% 0.1084 -0.1668)
OKLCHoklch(65.4% 0.199 303)
XYZxyz(37.7550, 25.2649, 86.8748)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AF2 #B2F26A
analogous
#6A6EF2 #AA6AF2 #EE6AF2
triadic
#AA6AF2 #F2AA6A #6AF2AA
tetradic
#AA6AF2 #F26A6E #B2F26A #6AF2EE
square
#AA6AF2 #F26A6E #B2F26A #6AF2EE
split-complementary
#AA6AF2 #F2EE6A #6EF26A
monochromatic
#6B12CF #8A32ED #AA6AF2 #CAA2F7 #EADBFC

Accessibility & contrast

On white

3.47
#AA6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AA6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AF2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AF2#FFFFFF#000000##000000
##AA6AF21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#9D85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6af2;
/* rgb */ color: rgb(170, 106, 242);
/* oklch */ color: oklch(65.4% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#c797f7',
    500: '#aa6af2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6af2;
$custom-light: #c797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6af2",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 268.235,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65395,
    "c": 0.19898,
    "h": 303
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#AA6AF2
secondary
#DDF1C7
accent
#E00579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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