#AE339B#AE339B

#AE339B is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.2% C 0.195 H 334.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AE339B
RGBrgb(174, 51, 155)
HSLhsl(309, 55%, 44%)
HSVhsv(309, 71%, 68%)
CMYKcmyk(0%, 70.7%, 10.9%, 31.8%)
CIE-LABlab(43.85, 60.48, -30.28)
CIE-LCHlch(43.85, 67.63, 333.40°)
OKLaboklab(54.16% 0.1761 -0.0827)
OKLCHoklch(54.16% 0.195 334.8)
XYZxyz(24.5560, 13.7350, 32.3618)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE339B #33AE46
analogous
#8433AE #AE339B #AE335E
triadic
#AE339B #9BAE33 #339BAE
tetradic
#AE339B #AE8433 #33AE46 #335EAE
square
#AE339B #AE8433 #33AE46 #335EAE
split-complementary
#AE339B #5EAE33 #33AE84
monochromatic
#4F1747 #7F2571 #AE339B #CC52B9 #DA81CC

Accessibility & contrast

On white

5.61
#AE339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AE339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE339B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE339B#FFFFFF#000000##FFFFFF
##AE339B1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#B63D63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae339b;
/* rgb */ color: rgb(174, 51, 155);
/* oklch */ color: oklch(54.2% 0.195 334.8);
Tailwind
colors: {
  custom: {
    50: '#ca76b9',
    500: '#ae339b',
    950: '#000000',
  },
}
SCSS
$custom: #ae339b;
$custom-light: #ca76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae339b",
  "rgb": {
    "r": 174,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 309.268,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.19457,
    "h": 334.8
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#AE339B
secondary
#79C385
accent
#DE614A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE339B

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

Preview Lab → · Contrast checker → · Palette generator →

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