#AA3EC6#AA3EC6

#AA3EC6 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.214 H 318.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC6
RGBrgb(170, 62, 198)
HSLhsl(288, 54%, 51%)
HSVhsv(288, 69%, 78%)
CMYKcmyk(14.1%, 68.7%, 0%, 22.4%)
CIE-LABlab(47.07, 62.79, -50.56)
CIE-LCHlch(47.07, 80.62, 321.16°)
OKLaboklab(57.11% 0.1608 -0.1417)
OKLCHoklch(57.11% 0.214 318.6)
XYZxyz(28.4919, 16.0698, 55.0161)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC6 #5AC63E
analogous
#663EC6 #AA3EC6 #C63E9E
triadic
#AA3EC6 #C6AA3E #3EC6AA
tetradic
#AA3EC6 #C6663E #5AC63E #3E9EC6
square
#AA3EC6 #C6663E #5AC63E #3E9EC6
split-complementary
#AA3EC6 #9EC63E #3EC666
monochromatic
#5B1F6A #832D99 #AA3EC6 #BF6DD4 #D49CE2

Accessibility & contrast

On white

4.98
#AA3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AA3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC6#FFFFFF#000000##FFFFFF
##AA3EC61.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#AA587D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3ec6;
/* rgb */ color: rgb(170, 62, 198);
/* oklch */ color: oklch(57.1% 0.214 318.6);
Tailwind
colors: {
  custom: {
    50: '#c77cd8',
    500: '#aa3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec6;
$custom-light: #c77cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec6",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 287.647,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.21432,
    "h": 318.6
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#AA3EC6
secondary
#9ECE92
accent
#DE4A68
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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