#AA4ECA#AA4ECA

#AA4ECA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.197 H 316.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA4ECA
RGBrgb(170, 78, 202)
HSLhsl(285, 54%, 55%)
HSVhsv(285, 61%, 79%)
CMYKcmyk(15.8%, 61.4%, 0%, 20.8%)
CIE-LABlab(49.81, 56.62, -48.48)
CIE-LCHlch(49.81, 74.54, 319.43°)
OKLaboklab(59.16% 0.1425 -0.1358)
OKLCHoklch(59.16% 0.197 316.4)
XYZxyz(29.9610, 18.2602, 57.8120)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ECA #6ECA4E
analogous
#6C4ECA #AA4ECA #CA4EAC
triadic
#AA4ECA #CAAA4E #4ECAAA
tetradic
#AA4ECA #CA6C4E #6ECA4E #4EACCA
square
#AA4ECA #CA6C4E #6ECA4E #4EACCA
split-complementary
#AA4ECA #ACCA4E #4ECA6C
monochromatic
#632479 #8A32A8 #AA4ECA #C17DD8 #D7ACE6

Accessibility & contrast

On white

4.51
#AA4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AA4ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ECA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ECA#FFFFFF#000000##000000
##AA4ECA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#A86485
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa4eca;
/* rgb */ color: rgb(170, 78, 202);
/* oklch */ color: oklch(59.2% 0.197 316.4);
Tailwind
colors: {
  custom: {
    50: '#c685db',
    500: '#aa4eca',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eca;
$custom-light: #c685db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eca",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 284.516,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.1968,
    "h": 316.4
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#AA4ECA
secondary
#ADD4A0
accent
#DD4B70
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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