#AE4FA1#AE4FA1

#AE4FA1 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.6% C 0.160 H 332.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AE4FA1
RGBrgb(174, 79, 161)
HSLhsl(308, 38%, 50%)
HSVhsv(308, 55%, 68%)
CMYKcmyk(0%, 54.6%, 7.5%, 31.8%)
CIE-LABlab(48.47, 49.52, -26.65)
CIE-LCHlch(48.47, 56.24, 331.71°)
OKLaboklab(57.62% 0.1421 -0.0726)
OKLCHoklch(57.62% 0.16 332.9)
XYZxyz(26.6845, 17.1657, 35.6191)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA1 #4FAE5C
analogous
#8C4FAE #AE4FA1 #AE4F71
triadic
#AE4FA1 #A1AE4F #4FA1AE
tetradic
#AE4FA1 #AE8C4F #4FAE5C #4F71AE
square
#AE4FA1 #AE8C4F #4FAE5C #4F71AE
split-complementary
#AE4FA1 #71AE4F #4FAE8C
monochromatic
#5A2953 #843C7A #AE4FA1 #C278B8 #D5A2CE

Accessibility & contrast

On white

4.74
#AE4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AE4FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FA1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA1#FFFFFF#000000##FFFFFF
##AE4FA11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6AA4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#B55671
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae4fa1;
/* rgb */ color: rgb(174, 79, 161);
/* oklch */ color: oklch(57.6% 0.160 332.9);
Tailwind
colors: {
  custom: {
    50: '#c885bd',
    500: '#ae4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa1;
$custom-light: #c885bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa1",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 308.211,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.15957,
    "h": 332.9
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#AE4FA1
secondary
#97C29D
accent
#CE6A5A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AE4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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