#AA4EC0#AA4EC0

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

Color values

HEX#AA4EC0
RGBrgb(170, 78, 192)
HSLhsl(288, 48%, 53%)
HSVhsv(288, 59%, 75%)
CMYKcmyk(11.5%, 59.4%, 0%, 24.7%)
CIE-LABlab(49.25, 54.62, -43.60)
CIE-LCHlch(49.25, 69.89, 321.40°)
OKLaboklab(58.58% 0.1422 -0.1215)
OKLCHoklch(58.58% 0.187 319.5)
XYZxyz(28.8152, 17.8018, 51.7772)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EC0 #64C04E
analogous
#714EC0 #AA4EC0 #C04E9D
triadic
#AA4EC0 #C0AA4E #4EC0AA
tetradic
#AA4EC0 #C0714E #64C04E #4E9DC0
square
#AA4EC0 #C0714E #64C04E #4E9DC0
split-complementary
#AA4EC0 #9DC04E #4EC071
monochromatic
#5F276D #87379A #AA4EC0 #C07BD0 #D5A8E0

Accessibility & contrast

On white

4.61
#AA4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AA4EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EC0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EC0#FFFFFF#000000##FFFFFF
##AA4EC01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336FC4
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#AB6080
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4ec0;
/* rgb */ color: rgb(170, 78, 192);
/* oklch */ color: oklch(58.6% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#c685d3',
    500: '#aa4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ec0;
$custom-light: #c685d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ec0",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 288.421,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.18706,
    "h": 319.5
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#AA4EC0
secondary
#A6CE9C
accent
#D7516B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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