#AE4FA2#AE4FA2

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

Color values

HEX#AE4FA2
RGBrgb(174, 79, 162)
HSLhsl(308, 38%, 50%)
HSVhsv(308, 55%, 68%)
CMYKcmyk(0%, 54.6%, 6.9%, 31.8%)
CIE-LABlab(48.51, 49.69, -27.18)
CIE-LCHlch(48.51, 56.64, 331.32°)
OKLaboklab(57.67% 0.1423 -0.0741)
OKLCHoklch(57.67% 0.16 332.5)
XYZxyz(26.7731, 17.2011, 36.0854)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FA2 #4FAE5B
analogous
#8B4FAE #AE4FA2 #AE4F73
triadic
#AE4FA2 #A2AE4F #4FA2AE
tetradic
#AE4FA2 #AE8B4F #4FAE5B #4F73AE
square
#AE4FA2 #AE8B4F #4FAE5B #4F73AE
split-complementary
#AE4FA2 #73AE4F #4FAE8B
monochromatic
#5A2954 #843C7B #AE4FA2 #C278B9 #D5A2CF

Accessibility & contrast

On white

4.73
#AE4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AE4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FA2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FA2#FFFFFF#000000##FFFFFF
##AE4FA21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae4fa2;
/* rgb */ color: rgb(174, 79, 162);
/* oklch */ color: oklch(57.7% 0.160 332.5);
Tailwind
colors: {
  custom: {
    50: '#c885be',
    500: '#ae4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fa2;
$custom-light: #c885be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fa2",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 307.579,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.1604,
    "h": 332.5
  },
  "luminance": 0.17199
}

Semantic roles & 50–950 ramp

primary
#AE4FA2
secondary
#97C29C
accent
#CE695A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AE4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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