#AA3EC8#AA3EC8

#AA3EC8 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.216 H 318.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC8
RGBrgb(170, 62, 200)
HSLhsl(287, 56%, 51%)
HSVhsv(287, 69%, 78%)
CMYKcmyk(15%, 69%, 0%, 21.6%)
CIE-LABlab(47.19, 63.18, -51.52)
CIE-LCHlch(47.19, 81.52, 320.80°)
OKLaboklab(57.24% 0.1606 -0.1446)
OKLCHoklch(57.24% 0.216 318)
XYZxyz(28.7241, 16.1627, 56.2391)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC8 #5CC83E
analogous
#653EC8 #AA3EC8 #C83EA1
triadic
#AA3EC8 #C8AA3E #3EC8AA
tetradic
#AA3EC8 #C8653E #5CC83E #3EA1C8
square
#AA3EC8 #C8653E #5CC83E #3EA1C8
split-complementary
#AA3EC8 #A1C83E #3EC865
monochromatic
#5C1F6D #842D9C #AA3EC8 #BF6ED6 #D49DE3

Accessibility & contrast

On white

4.96
#AA3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AA3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC8#FFFFFF#000000##FFFFFF
##AA3EC81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#A9587F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3ec8;
/* rgb */ color: rgb(170, 62, 200);
/* oklch */ color: oklch(57.2% 0.216 318.0);
Tailwind
colors: {
  custom: {
    50: '#c77cd9',
    500: '#aa3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec8;
$custom-light: #c77cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec8",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 286.957,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.21611,
    "h": 318
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#AA3EC8
secondary
#A0CF92
accent
#DF4969
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #AA3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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