#AE4FA7#AE4FA7

#AE4FA7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.165 H 330.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AE4FA7
RGBrgb(174, 79, 167)
HSLhsl(304, 38%, 50%)
HSVhsv(304, 55%, 68%)
CMYKcmyk(0%, 54.6%, 4%, 31.8%)
CIE-LABlab(48.74, 50.56, -29.78)
CIE-LCHlch(48.74, 58.67, 329.50°)
OKLaboklab(57.91% 0.1431 -0.0815)
OKLCHoklch(57.91% 0.165 330.3)
XYZxyz(27.2264, 17.3824, 38.4728)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA7 #4FAE56
analogous
#864FAE #AE4FA7 #AE4F78
triadic
#AE4FA7 #A7AE4F #4FA7AE
tetradic
#AE4FA7 #AE864F #4FAE56 #4F78AE
square
#AE4FA7 #AE864F #4FAE56 #4F78AE
split-complementary
#AE4FA7 #78AE4F #4FAE86
monochromatic
#5A2956 #843C7F #AE4FA7 #C278BC #D5A2D1

Accessibility & contrast

On white

4.69
#AE4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE4FA7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA7#FFFFFF#000000##FFFFFF
##AE4FA71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BAA
Deuteranopia (green-blind)
#6778A4
Tritanopia (blue-blind)
#B45874
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae4fa7;
/* rgb */ color: rgb(174, 79, 167);
/* oklch */ color: oklch(57.9% 0.165 330.3);
Tailwind
colors: {
  custom: {
    50: '#c885c1',
    500: '#ae4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa7;
$custom-light: #c885c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa7",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 304.421,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.16468,
    "h": 330.3
  },
  "luminance": 0.17381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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