#AA4EC1#AA4EC1

#AA4EC1 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.188 H 319.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA4EC1
RGBrgb(170, 78, 193)
HSLhsl(288, 48%, 53%)
HSVhsv(288, 60%, 76%)
CMYKcmyk(11.9%, 59.6%, 0%, 24.3%)
CIE-LABlab(49.31, 54.82, -44.09)
CIE-LCHlch(49.31, 70.35, 321.19°)
OKLaboklab(58.64% 0.1423 -0.1229)
OKLCHoklch(58.64% 0.188 319.2)
XYZxyz(28.9263, 17.8463, 52.3627)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EC1 #65C14E
analogous
#704EC1 #AA4EC1 #C14E9E
triadic
#AA4EC1 #C1AA4E #4EC1AA
tetradic
#AA4EC1 #C1704E #65C14E #4E9EC1
square
#AA4EC1 #C1704E #65C14E #4E9EC1
split-complementary
#AA4EC1 #9EC14E #4EC170
monochromatic
#60276E #87369B #AA4EC1 #C07BD1 #D6A9E1

Accessibility & contrast

On white

4.60
#AA4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AA4EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EC1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EC1#FFFFFF#000000##FFFFFF
##AA4EC11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#AA6080
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4ec1;
/* rgb */ color: rgb(170, 78, 193);
/* oklch */ color: oklch(58.6% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#c685d4',
    500: '#aa4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ec1;
$custom-light: #c685d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ec1",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 288,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.18803,
    "h": 319.2
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#AA4EC1
secondary
#A7CE9D
accent
#D8506B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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