#AA3EC1#AA3EC1

#AA3EC1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.210 H 320.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC1
RGBrgb(170, 62, 193)
HSLhsl(289, 51%, 50%)
HSVhsv(289, 68%, 76%)
CMYKcmyk(11.9%, 67.9%, 0%, 24.3%)
CIE-LABlab(46.77, 61.84, -48.14)
CIE-LCHlch(46.77, 78.37, 322.10°)
OKLaboklab(56.8% 0.161 -0.1346)
OKLCHoklch(56.8% 0.21 320.1)
XYZxyz(27.9246, 15.8429, 52.0288)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC1 #55C13E
analogous
#693EC1 #AA3EC1 #C13E96
triadic
#AA3EC1 #C1AA3E #3EC1AA
tetradic
#AA3EC1 #C1693E #55C13E #3E96C1
square
#AA3EC1 #C1693E #55C13E #3E96C1
split-complementary
#AA3EC1 #96C13E #3EC169
monochromatic
#582064 #812F93 #AA3EC1 #BE6CD0 #D39BDF

Accessibility & contrast

On white

5.04
#AA3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AA3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC1#FFFFFF#000000##FFFFFF
##AA3EC11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0967C5
Deuteranopia (green-blind)
#4973BE
Tritanopia (blue-blind)
#AB567B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa3ec1;
/* rgb */ color: rgb(170, 62, 193);
/* oklch */ color: oklch(56.8% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#c77cd4',
    500: '#aa3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec1;
$custom-light: #c77cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec1",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 289.466,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.568,
    "c": 0.20987,
    "h": 320.1
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#AA3EC1
secondary
#9ACB90
accent
#DB4D66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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