#AE31B6#AE31B6

#AE31B6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AE31B6
RGBrgb(174, 49, 182)
HSLhsl(296, 58%, 45%)
HSVhsv(296, 73%, 71%)
CMYKcmyk(4.4%, 73.1%, 0%, 28.6%)
CIE-LABlab(45.05, 65.54, -44.42)
CIE-LCHlch(45.05, 79.18, 325.87°)
OKLaboklab(55.48% 0.179 -0.1236)
OKLCHoklch(55.48% 0.218 325.4)
XYZxyz(26.9968, 14.5745, 45.6381)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31B6 #39B631
analogous
#6B31B6 #AE31B6 #B6317B
triadic
#AE31B6 #B6AE31 #31B6AE
tetradic
#AE31B6 #B66B31 #39B631 #317BB6
square
#AE31B6 #B66B31 #39B631 #317BB6
split-complementary
#AE31B6 #7BB631 #31B66B
monochromatic
#521756 #802486 #AE31B6 #C953D1 #D884DE

Accessibility & contrast

On white

5.36
#AE31B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AE31B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31B6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31B6#FFFFFF#000000##FFFFFF
##AE31B61.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BA
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#B24871
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ae31b6;
/* rgb */ color: rgb(174, 49, 182);
/* oklch */ color: oklch(55.5% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#ca76cc',
    500: '#ae31b6',
    950: '#000000',
  },
}
SCSS
$custom: #ae31b6;
$custom-light: #ca76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31b6",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 296.391,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.21751,
    "h": 325.4
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#AE31B6
secondary
#80C77C
accent
#E14750
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AE31B6

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

Preview Lab → · Contrast checker → · Palette generator →

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