#AE4FA5#AE4FA5

#AE4FA5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.163 H 331.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AE4FA5
RGBrgb(174, 79, 165)
HSLhsl(306, 38%, 50%)
HSVhsv(306, 55%, 68%)
CMYKcmyk(0%, 54.6%, 5.2%, 31.8%)
CIE-LABlab(48.65, 50.21, -28.74)
CIE-LCHlch(48.65, 57.85, 330.21°)
OKLaboklab(57.81% 0.1428 -0.0785)
OKLCHoklch(57.81% 0.163 331.2)
XYZxyz(27.0429, 17.3090, 37.5066)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA5 #4FAE58
analogous
#874FAE #AE4FA5 #AE4F76
triadic
#AE4FA5 #A5AE4F #4FA5AE
tetradic
#AE4FA5 #AE874F #4FAE58 #4F76AE
square
#AE4FA5 #AE874F #4FAE58 #4F76AE
split-complementary
#AE4FA5 #76AE4F #4FAE87
monochromatic
#5A2955 #843C7D #AE4FA5 #C278BB #D5A2D0

Accessibility & contrast

On white

4.71
#AE4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AE4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FA5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA5#FFFFFF#000000##FFFFFF
##AE4FA51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae4fa5;
/* rgb */ color: rgb(174, 79, 165);
/* oklch */ color: oklch(57.8% 0.163 331.2);
Tailwind
colors: {
  custom: {
    50: '#c885c0',
    500: '#ae4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa5;
$custom-light: #c885c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa5",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 305.684,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.16295,
    "h": 331.2
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#AE4FA5
secondary
#97C29B
accent
#CE655A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AE4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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