#AE31AF#AE31AF

#AE31AF is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.212 H 327.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AE31AF
RGBrgb(174, 49, 175)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 69%)
CMYKcmyk(0.6%, 72%, 0%, 31.4%)
CIE-LABlab(44.65, 64.36, -40.93)
CIE-LCHlch(44.65, 76.28, 327.55°)
OKLaboklab(55.07% 0.1791 -0.1134)
OKLCHoklch(55.07% 0.212 327.6)
XYZxyz(26.2914, 14.2923, 41.9231)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31AF #32AF31
analogous
#6F31AF #AE31AF #AF3171
triadic
#AE31AF #AFAE31 #31AFAE
tetradic
#AE31AF #AF6F31 #32AF31 #3171AF
square
#AE31AF #AF6F31 #32AF31 #3171AF
split-complementary
#AE31AF #71AF31 #31AF6F
monochromatic
#4F164F #7E247F #AE31AF #CD4FCE #DA7FDB

Accessibility & contrast

On white

5.44
#AE31AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AE31AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31AF#FFFFFF#000000##FFFFFF
##AE31AF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#B3456D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae31af;
/* rgb */ color: rgb(174, 49, 175);
/* oklch */ color: oklch(55.1% 0.212 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca76c7',
    500: '#ae31af',
    950: '#000000',
  },
}
SCSS
$custom: #ae31af;
$custom-light: #ca76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31af",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 299.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.21199,
    "h": 327.6
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#AE31AF
secondary
#78C478
accent
#E04849
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE31AF

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

Preview Lab → · Contrast checker → · Palette generator →

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