#AE34A2#AE34A2

#AE34A2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.199 H 332.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AE34A2
RGBrgb(174, 52, 162)
HSLhsl(306, 54%, 44%)
HSVhsv(306, 70%, 68%)
CMYKcmyk(0%, 70.1%, 6.9%, 31.8%)
CIE-LABlab(44.33, 61.21, -33.72)
CIE-LCHlch(44.33, 69.88, 331.15°)
OKLaboklab(54.62% 0.1757 -0.0926)
OKLCHoklch(54.62% 0.199 332.2)
XYZxyz(25.2052, 14.0653, 35.5628)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE34A2 #34AE40
analogous
#7D34AE #AE34A2 #AE3465
triadic
#AE34A2 #A2AE34 #34A2AE
tetradic
#AE34A2 #AE7D34 #34AE40 #3465AE
square
#AE34A2 #AE7D34 #34AE40 #3465AE
split-complementary
#AE34A2 #65AE34 #34AE7D
monochromatic
#50184A #7F2676 #AE34A2 #CC53C0 #DA83D1

Accessibility & contrast

On white

5.51
#AE34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AE34A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE34A2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE34A2#FFFFFF#000000##FFFFFF
##AE34A21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B54167
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae34a2;
/* rgb */ color: rgb(174, 52, 162);
/* oklch */ color: oklch(54.6% 0.199 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca76be',
    500: '#ae34a2',
    950: '#000000',
  },
}
SCSS
$custom: #ae34a2;
$custom-light: #ca76be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae34a2",
  "rgb": {
    "r": 174,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 305.902,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.19856,
    "h": 332.2
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#AE34A2
secondary
#7BC382
accent
#DD594A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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