#AA3EC7#AA3EC7

#AA3EC7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.215 H 318.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA3EC7
RGBrgb(170, 62, 199)
HSLhsl(287, 55%, 51%)
HSVhsv(287, 69%, 78%)
CMYKcmyk(14.6%, 68.8%, 0%, 22%)
CIE-LABlab(47.13, 62.99, -51.04)
CIE-LCHlch(47.13, 81.07, 320.98°)
OKLaboklab(57.17% 0.1607 -0.1431)
OKLCHoklch(57.17% 0.215 318.3)
XYZxyz(28.6076, 16.1161, 55.6256)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3EC7 #5BC73E
analogous
#653EC7 #AA3EC7 #C73E9F
triadic
#AA3EC7 #C7AA3E #3EC7AA
tetradic
#AA3EC7 #C7653E #5BC73E #3E9FC7
square
#AA3EC7 #C7653E #5BC73E #3E9FC7
split-complementary
#AA3EC7 #9FC73E #3EC765
monochromatic
#5B1F6B #842D9B #AA3EC7 #BF6DD5 #D49DE3

Accessibility & contrast

On white

4.97
#AA3EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AA3EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3EC7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3EC7#FFFFFF#000000##FFFFFF
##AA3EC71.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#A9587E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3ec7;
/* rgb */ color: rgb(170, 62, 199);
/* oklch */ color: oklch(57.2% 0.215 318.3);
Tailwind
colors: {
  custom: {
    50: '#c77cd9',
    500: '#aa3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ec7;
$custom-light: #c77cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ec7",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 287.299,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.21521,
    "h": 318.3
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#AA3EC7
secondary
#9FCF92
accent
#DE4969
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #AA3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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