#AA4EB4#AA4EB4

#AA4EB4 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.176 H 323.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB4
RGBrgb(170, 78, 180)
HSLhsl(294, 40%, 51%)
HSVhsv(294, 57%, 71%)
CMYKcmyk(5.6%, 56.7%, 0%, 29.4%)
CIE-LABlab(48.63, 52.30, -37.62)
CIE-LCHlch(48.63, 64.42, 324.28°)
OKLaboklab(57.92% 0.1414 -0.1041)
OKLCHoklch(57.92% 0.176 323.6)
XYZxyz(27.5394, 17.2915, 45.0582)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB4 #58B44E
analogous
#774EB4 #AA4EB4 #B44E8B
triadic
#AA4EB4 #B4AA4E #4EB4AA
tetradic
#AA4EB4 #B4774E #58B44E #4E8BB4
square
#AA4EB4 #B4774E #58B44E #4E8BB4
split-complementary
#AA4EB4 #8BB44E #4EB477
monochromatic
#5A285F #823B8A #AA4EB4 #BF79C6 #D3A4D8

Accessibility & contrast

On white

4.71
#AA4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AA4EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB4#FFFFFF#000000##FFFFFF
##AA4EB41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB7
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#AD5C7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4eb4;
/* rgb */ color: rgb(170, 78, 180);
/* oklch */ color: oklch(57.9% 0.176 323.6);
Tailwind
colors: {
  custom: {
    50: '#c684cb',
    500: '#aa4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb4;
$custom-light: #c684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb4",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 294.118,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.17562,
    "h": 323.6
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#AA4EB4
secondary
#9DC698
accent
#D05763
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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