#AE4FA8#AE4FA8

#AE4FA8 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.166 H 329.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AE4FA8
RGBrgb(174, 79, 168)
HSLhsl(304, 38%, 50%)
HSVhsv(304, 55%, 68%)
CMYKcmyk(0%, 54.6%, 3.4%, 31.8%)
CIE-LABlab(48.78, 50.73, -30.29)
CIE-LCHlch(48.78, 59.09, 329.16°)
OKLaboklab(57.96% 0.1432 -0.083)
OKLCHoklch(57.96% 0.166 329.9)
XYZxyz(27.3192, 17.4195, 38.9616)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA8 #4FAE55
analogous
#844FAE #AE4FA8 #AE4F79
triadic
#AE4FA8 #A8AE4F #4FA8AE
tetradic
#AE4FA8 #AE844F #4FAE55 #4F79AE
square
#AE4FA8 #AE844F #4FAE55 #4F79AE
split-complementary
#AE4FA8 #79AE4F #4FAE84
monochromatic
#5A2957 #843C7F #AE4FA8 #C278BD #D5A2D2

Accessibility & contrast

On white

4.68
#AE4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AE4FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FA8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA8#FFFFFF#000000##FFFFFF
##AE4FA81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496CAB
Deuteranopia (green-blind)
#6679A5
Tritanopia (blue-blind)
#B45874
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae4fa8;
/* rgb */ color: rgb(174, 79, 168);
/* oklch */ color: oklch(58.0% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#c885c2',
    500: '#ae4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa8;
$custom-light: #c885c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa8",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 303.789,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.16554,
    "h": 329.9
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#AE4FA8
secondary
#97C299
accent
#CE625A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AE4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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