#AE339D#AE339D

#AE339D is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.196 H 334.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AE339D
RGBrgb(174, 51, 157)
HSLhsl(308, 55%, 44%)
HSVhsv(308, 71%, 68%)
CMYKcmyk(0%, 70.7%, 9.8%, 31.8%)
CIE-LABlab(43.95, 60.78, -31.33)
CIE-LCHlch(43.95, 68.38, 332.73°)
OKLaboklab(54.26% 0.1763 -0.0857)
OKLCHoklch(54.26% 0.196 334.1)
XYZxyz(24.7254, 13.8027, 33.2537)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE339D #33AE44
analogous
#8233AE #AE339D #AE3360
triadic
#AE339D #9DAE33 #339DAE
tetradic
#AE339D #AE8233 #33AE44 #3360AE
square
#AE339D #AE8233 #33AE44 #3360AE
split-complementary
#AE339D #60AE33 #33AE82
monochromatic
#4F1748 #7F2572 #AE339D #CC52BB #DA81CE

Accessibility & contrast

On white

5.58
#AE339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AE339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE339D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE339D#FFFFFF#000000##FFFFFF
##AE339D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#B63D64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae339d;
/* rgb */ color: rgb(174, 51, 157);
/* oklch */ color: oklch(54.3% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca76ba',
    500: '#ae339d',
    950: '#000000',
  },
}
SCSS
$custom: #ae339d;
$custom-light: #ca76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ae339d",
  "rgb": {
    "r": 174,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 308.293,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.19603,
    "h": 334.1
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#AE339D
secondary
#79C384
accent
#DE5E4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE339D

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

Preview Lab → · Contrast checker → · Palette generator →

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