#AE339F#AE339F

#AE339F is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.198 H 333.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AE339F
RGBrgb(174, 51, 159)
HSLhsl(307, 55%, 44%)
HSVhsv(307, 71%, 68%)
CMYKcmyk(0%, 70.7%, 8.6%, 31.8%)
CIE-LABlab(44.05, 61.09, -32.37)
CIE-LCHlch(44.05, 69.14, 332.08°)
OKLaboklab(54.37% 0.1765 -0.0887)
OKLCHoklch(54.37% 0.198 333.3)
XYZxyz(24.8975, 13.8716, 34.1604)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE339F #33AE42
analogous
#8033AE #AE339F #AE3362
triadic
#AE339F #9FAE33 #339FAE
tetradic
#AE339F #AE8033 #33AE42 #3362AE
square
#AE339F #AE8033 #33AE42 #3362AE
split-complementary
#AE339F #62AE33 #33AE80
monochromatic
#4F1749 #7F2574 #AE339F #CC52BD #DA81CF

Accessibility & contrast

On white

5.56
#AE339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AE339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE339F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE339F#FFFFFF#000000##FFFFFF
##AE339F1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#B63E65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae339f;
/* rgb */ color: rgb(174, 51, 159);
/* oklch */ color: oklch(54.4% 0.198 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca76bc',
    500: '#ae339f',
    950: '#000000',
  },
}
SCSS
$custom: #ae339f;
$custom-light: #ca76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae339f",
  "rgb": {
    "r": 174,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 307.317,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.1975,
    "h": 333.3
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#AE339F
secondary
#79C382
accent
#DE5C4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE339F

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

Preview Lab → · Contrast checker → · Palette generator →

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