#AE4FA6#AE4FA6

#AE4FA6 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.164 H 330.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AE4FA6
RGBrgb(174, 79, 166)
HSLhsl(305, 38%, 50%)
HSVhsv(305, 55%, 68%)
CMYKcmyk(0%, 54.6%, 4.6%, 31.8%)
CIE-LABlab(48.69, 50.38, -29.26)
CIE-LCHlch(48.69, 58.26, 329.86°)
OKLaboklab(57.86% 0.1429 -0.08)
OKLCHoklch(57.86% 0.164 330.8)
XYZxyz(27.1343, 17.3456, 37.9878)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA6 #4FAE57
analogous
#874FAE #AE4FA6 #AE4F76
triadic
#AE4FA6 #A6AE4F #4FA6AE
tetradic
#AE4FA6 #AE874F #4FAE57 #4F76AE
square
#AE4FA6 #AE874F #4FAE57 #4F76AE
split-complementary
#AE4FA6 #76AE4F #4FAE87
monochromatic
#5A2956 #843C7E #AE4FA6 #C278BC #D5A2D1

Accessibility & contrast

On white

4.70
#AE4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AE4FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FA6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA6#FFFFFF#000000##FFFFFF
##AE4FA61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA9
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#B45773
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae4fa6;
/* rgb */ color: rgb(174, 79, 166);
/* oklch */ color: oklch(57.9% 0.164 330.8);
Tailwind
colors: {
  custom: {
    50: '#c885c0',
    500: '#ae4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa6;
$custom-light: #c885c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa6",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 305.053,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.16381,
    "h": 330.8
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#AE4FA6
secondary
#97C29A
accent
#CE645A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AE4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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