#AA4ECC#AA4ECC

#AA4ECC is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.199 H 315.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA4ECC
RGBrgb(170, 78, 204)
HSLhsl(284, 55%, 55%)
HSVhsv(284, 62%, 80%)
CMYKcmyk(16.7%, 61.8%, 0%, 20%)
CIE-LABlab(49.92, 57.03, -49.45)
CIE-LCHlch(49.92, 75.48, 319.07°)
OKLaboklab(59.28% 0.1425 -0.1386)
OKLCHoklch(59.28% 0.199 315.8)
XYZxyz(30.1993, 18.3555, 59.0672)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ECC #70CC4E
analogous
#6B4ECC #AA4ECC #CC4EAF
triadic
#AA4ECC #CCAA4E #4ECCAA
tetradic
#AA4ECC #CC6B4E #70CC4E #4EAFCC
square
#AA4ECC #CC6B4E #70CC4E #4EAFCC
split-complementary
#AA4ECC #AFCC4E #4ECC6B
monochromatic
#64247C #8A31AB #AA4ECC #C17EDA #D8ADE7

Accessibility & contrast

On white

4.50
#AA4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AA4ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ECC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ECC#FFFFFF#000000##000000
##AA4ECC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#4E79C9
Tritanopia (blue-blind)
#A86486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa4ecc;
/* rgb */ color: rgb(170, 78, 204);
/* oklch */ color: oklch(59.3% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#c685dc',
    500: '#aa4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ecc;
$custom-light: #c685dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ecc",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 283.81,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.19877,
    "h": 315.8
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#AA4ECC
secondary
#AFD5A1
accent
#DF4972
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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