#AA3EC2#AA3EC2

#AA3EC2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.211 H 319.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC2
RGBrgb(170, 62, 194)
HSLhsl(289, 52%, 50%)
HSVhsv(289, 68%, 76%)
CMYKcmyk(12.4%, 68%, 0%, 23.9%)
CIE-LABlab(46.83, 62.03, -48.63)
CIE-LCHlch(46.83, 78.82, 321.91°)
OKLaboklab(56.86% 0.1609 -0.1361)
OKLCHoklch(56.86% 0.211 319.8)
XYZxyz(28.0366, 15.8877, 52.6183)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC2 #56C23E
analogous
#683EC2 #AA3EC2 #C23E98
triadic
#AA3EC2 #C2AA3E #3EC2AA
tetradic
#AA3EC2 #C2683E #56C23E #3E98C2
square
#AA3EC2 #C2683E #56C23E #3E98C2
split-complementary
#AA3EC2 #98C23E #3EC268
monochromatic
#592066 #822F94 #AA3EC2 #BE6DD1 #D39BDF

Accessibility & contrast

On white

5.03
#AA3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AA3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC2#FFFFFF#000000##FFFFFF
##AA3EC21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#4973BF
Tritanopia (blue-blind)
#AA567B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa3ec2;
/* rgb */ color: rgb(170, 62, 194);
/* oklch */ color: oklch(56.9% 0.211 319.8);
Tailwind
colors: {
  custom: {
    50: '#c77cd5',
    500: '#aa3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec2;
$custom-light: #c77cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec2",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 289.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.21075,
    "h": 319.8
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#AA3EC2
secondary
#9BCB90
accent
#DB4C66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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