#AA3EC5#AA3EC5

#AA3EC5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.213 H 318.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC5
RGBrgb(170, 62, 197)
HSLhsl(288, 54%, 51%)
HSVhsv(288, 69%, 77%)
CMYKcmyk(13.7%, 68.5%, 0%, 22.7%)
CIE-LABlab(47.01, 62.60, -50.08)
CIE-LCHlch(47.01, 80.17, 321.34°)
OKLaboklab(57.05% 0.1608 -0.1403)
OKLCHoklch(57.05% 0.213 318.9)
XYZxyz(28.3769, 16.0238, 54.4107)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC5 #59C53E
analogous
#663EC5 #AA3EC5 #C53E9C
triadic
#AA3EC5 #C5AA3E #3EC5AA
tetradic
#AA3EC5 #C5663E #59C53E #3E9CC5
square
#AA3EC5 #C5663E #59C53E #3E9CC5
split-complementary
#AA3EC5 #9CC53E #3EC566
monochromatic
#5A2069 #832E98 #AA3EC5 #BF6DD3 #D39CE1

Accessibility & contrast

On white

4.99
#AA3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AA3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC5#FFFFFF#000000##FFFFFF
##AA3EC51.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4673C2
Tritanopia (blue-blind)
#AA577D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa3ec5;
/* rgb */ color: rgb(170, 62, 197);
/* oklch */ color: oklch(57.0% 0.213 318.9);
Tailwind
colors: {
  custom: {
    50: '#c77cd7',
    500: '#aa3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec5;
$custom-light: #c77cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec5",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 288,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.21342,
    "h": 318.9
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#AA3EC5
secondary
#9DCD91
accent
#DD4B68
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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