#AE31C9#AE31C9

#AE31C9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.233 H 319.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AE31C9
RGBrgb(174, 49, 201)
HSLhsl(289, 61%, 49%)
HSVhsv(289, 76%, 79%)
CMYKcmyk(13.4%, 75.6%, 0%, 21.2%)
CIE-LABlab(46.20, 68.89, -53.66)
CIE-LCHlch(46.20, 87.32, 322.08°)
OKLaboklab(56.67% 0.1776 -0.1506)
OKLCHoklch(56.67% 0.233 319.7)
XYZxyz(29.0952, 15.4138, 56.6896)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31C9 #4CC931
analogous
#6231C9 #AE31C9 #C93198
triadic
#AE31C9 #C9AE31 #31C9AE
tetradic
#AE31C9 #C96231 #4CC931 #3198C9
square
#AE31C9 #C96231 #4CC931 #3198C9
split-complementary
#AE31C9 #98C931 #31C962
monochromatic
#591967 #832598 #AE31C9 #C35FD8 #D590E4

Accessibility & contrast

On white

5.14
#AE31C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AE31C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31C9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31C9#FFFFFF#000000##FFFFFF
##AE31C91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#AE517C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae31c9;
/* rgb */ color: rgb(174, 49, 201);
/* oklch */ color: oklch(56.7% 0.233 319.7);
Tailwind
colors: {
  custom: {
    50: '#ca77da',
    500: '#ae31c9',
    950: '#000000',
  },
}
SCSS
$custom: #ae31c9;
$custom-light: #ca77da;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31c9",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 289.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.23289,
    "h": 319.7
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#AE31C9
secondary
#94CF87
accent
#E44460
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE31C9

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

Preview Lab → · Contrast checker → · Palette generator →

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