#AA6FF2#AA6FF2

#AA6FF2 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.192 H 302.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA6FF2
RGBrgb(170, 111, 242)
HSLhsl(267, 83%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.8%, 54.1%, 0%, 5.1%)
CIE-LABlab(58.34, 48.81, -57.44)
CIE-LCHlch(58.34, 75.38, 310.35°)
OKLaboklab(66.14% 0.1022 -0.1621)
OKLCHoklch(66.14% 0.192 302.2)
XYZxyz(38.2854, 26.3257, 87.0516)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FF2 #B7F26F
analogous
#6F76F2 #AA6FF2 #EC6FF2
triadic
#AA6FF2 #F2AA6F #6FF2AA
tetradic
#AA6FF2 #F26F76 #B7F26F #6FF2EC
square
#AA6FF2 #F26F76 #B7F26F #6FF2EC
split-complementary
#AA6FF2 #F2EC6F #76F26F
monochromatic
#6A13D4 #8937ED #AA6FF2 #CBA7F7 #ECDFFC

Accessibility & contrast

On white

3.35
#AA6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AA6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FF2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FF2#FFFFFF#000000##000000
##AA6FF21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#9C88A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6ff2;
/* rgb */ color: rgb(170, 111, 242);
/* oklch */ color: oklch(66.1% 0.192 302.2);
Tailwind
colors: {
  custom: {
    50: '#c79af7',
    500: '#aa6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ff2;
$custom-light: #c79af7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ff2",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 267.023,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.19166,
    "h": 302.2
  },
  "luminance": 0.26326
}

Semantic roles & 50–950 ramp

primary
#AA6FF2
secondary
#E0F1CB
accent
#E0067E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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