#AA6EE2#AA6EE2

#AA6EE2 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.1% C 0.174 H 306.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA6EE2
RGBrgb(170, 110, 226)
HSLhsl(271, 67%, 66%)
HSVhsv(271, 51%, 89%)
CMYKcmyk(24.8%, 51.3%, 0%, 11.4%)
CIE-LABlab(57.26, 45.58, -50.25)
CIE-LCHlch(57.26, 67.84, 312.21°)
OKLaboklab(65.05% 0.1026 -0.1411)
OKLCHoklch(65.05% 0.174 306)
XYZxyz(35.8781, 25.1892, 74.9087)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EE2 #A6E26E
analogous
#706EE2 #AA6EE2 #E26EE0
triadic
#AA6EE2 #E2AA6E #6EE2AA
tetradic
#AA6EE2 #E2706E #A6E26E #6EE0E2
square
#AA6EE2 #E2706E #A6E26E #6EE0E2
split-complementary
#AA6EE2 #E0E26E #6EE270
monochromatic
#6D24B2 #8C3BD8 #AA6EE2 #C8A1EC #E6D4F6

Accessibility & contrast

On white

3.48
#AA6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AA6EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EE2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EE2#FFFFFF#000000##000000
##AA6EE21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#A1839E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6ee2;
/* rgb */ color: rgb(170, 110, 226);
/* oklch */ color: oklch(65.1% 0.174 306.0);
Tailwind
colors: {
  custom: {
    50: '#c699eb',
    500: '#aa6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ee2;
$custom-light: #c699eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ee2",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 271.034,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.17441,
    "h": 306
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#AA6EE2
secondary
#D5E9C3
accent
#CF1770
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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