#AA2EC2#AA2EC2

#AA2EC2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.229 H 320.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA2EC2
RGBrgb(170, 46, 194)
HSLhsl(290, 62%, 47%)
HSVhsv(290, 76%, 76%)
CMYKcmyk(12.4%, 76.3%, 0%, 23.9%)
CIE-LABlab(44.80, 67.81, -51.88)
CIE-LCHlch(44.80, 85.38, 322.58°)
OKLaboklab(55.41% 0.1763 -0.1455)
OKLCHoklch(55.41% 0.229 320.5)
XYZxyz(27.2910, 14.3965, 52.3698)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EC2 #46C22E
analogous
#602EC2 #AA2EC2 #C22E90
triadic
#AA2EC2 #C2AA2E #2EC2AA
tetradic
#AA2EC2 #C2602E #46C22E #2E90C2
square
#AA2EC2 #C2602E #46C22E #2E90C2
split-complementary
#AA2EC2 #90C22E #2EC260
monochromatic
#53175F #7F2291 #AA2EC2 #C256D7 #D488E3

Accessibility & contrast

On white

5.41
#AA2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA2EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EC2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EC2#FFFFFF#000000##FFFFFF
##AA2EC21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#AB4D77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa2ec2;
/* rgb */ color: rgb(170, 46, 194);
/* oklch */ color: oklch(55.4% 0.229 320.5);
Tailwind
colors: {
  custom: {
    50: '#c775d5',
    500: '#aa2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ec2;
$custom-light: #c775d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ec2",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 290.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.22855,
    "h": 320.5
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#AA2EC2
secondary
#8CCC7F
accent
#E5435D
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AA2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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