#AE47AB#AE47AB

#AE47AB is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.180 H 328.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AE47AB
RGBrgb(174, 71, 171)
HSLhsl(302, 42%, 48%)
HSVhsv(302, 59%, 68%)
CMYKcmyk(0%, 59.2%, 1.7%, 31.8%)
CIE-LABlab(47.56, 54.98, -33.98)
CIE-LCHlch(47.56, 64.63, 328.28°)
OKLaboklab(57.11% 0.1542 -0.0935)
OKLCHoklch(57.11% 0.18 328.8)
XYZxyz(27.0592, 16.4472, 40.2696)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE47AB #47AE4A
analogous
#7E47AE #AE47AB #AE4777
triadic
#AE47AB #ABAE47 #47ABAE
tetradic
#AE47AB #AE7E47 #47AE4A #4777AE
square
#AE47AB #AE7E47 #47AE4A #4777AE
split-complementary
#AE47AB #77AE47 #47AE7E
monochromatic
#572456 #833580 #AE47AB #C46EC1 #D69AD4

Accessibility & contrast

On white

4.90
#AE47AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AE47AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE47AB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE47AB#FFFFFF#000000##FFFFFF
##AE47AB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#B45372
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae47ab;
/* rgb */ color: rgb(174, 71, 171);
/* oklch */ color: oklch(57.1% 0.180 328.8);
Tailwind
colors: {
  custom: {
    50: '#c980c4',
    500: '#ae47ab',
    950: '#000000',
  },
}
SCSS
$custom: #ae47ab;
$custom-light: #c980c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae47ab",
  "rgb": {
    "r": 174,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 301.748,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.18036,
    "h": 328.8
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#AE47AB
secondary
#8FC290
accent
#D25A56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AE47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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