#AE31B9#AE31B9

#AE31B9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.220 H 324.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AE31B9
RGBrgb(174, 49, 185)
HSLhsl(295, 58%, 46%)
HSVhsv(295, 74%, 73%)
CMYKcmyk(5.9%, 73.5%, 0%, 27.5%)
CIE-LABlab(45.22, 66.06, -45.91)
CIE-LCHlch(45.22, 80.44, 325.20°)
OKLaboklab(55.66% 0.1789 -0.1279)
OKLCHoklch(55.66% 0.22 324.4)
XYZxyz(27.3101, 14.6998, 47.2884)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31B9 #3CB931
analogous
#6A31B9 #AE31B9 #B93180
triadic
#AE31B9 #B9AE31 #31B9AE
tetradic
#AE31B9 #B96A31 #3CB931 #3180B9
square
#AE31B9 #B96A31 #3CB931 #3180B9
split-complementary
#AE31B9 #80B931 #31B96A
monochromatic
#531758 #802489 #AE31B9 #C855D2 #D886DF

Accessibility & contrast

On white

5.33
#AE31B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AE31B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31B9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31B9#FFFFFF#000000##FFFFFF
##AE31B91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#B14973
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ae31b9;
/* rgb */ color: rgb(174, 49, 185);
/* oklch */ color: oklch(55.7% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#ca76cf',
    500: '#ae31b9',
    950: '#000000',
  },
}
SCSS
$custom: #ae31b9;
$custom-light: #ca76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31b9",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 295.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.2199,
    "h": 324.4
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#AE31B9
secondary
#83C87D
accent
#E14653
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AE31B9

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

Preview Lab → · Contrast checker → · Palette generator →

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