#AE2EB1#AE2EB1

#AE2EB1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.217 H 327.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AE2EB1
RGBrgb(174, 46, 177)
HSLhsl(299, 59%, 44%)
HSVhsv(299, 74%, 69%)
CMYKcmyk(1.7%, 74%, 0%, 30.6%)
CIE-LABlab(44.42, 65.68, -42.48)
CIE-LCHlch(44.42, 78.22, 327.11°)
OKLaboklab(54.94% 0.1818 -0.1179)
OKLCHoklch(54.94% 0.217 327)
XYZxyz(26.3679, 14.1288, 42.9248)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2EB1 #31B12E
analogous
#6C2EB1 #AE2EB1 #B12E72
triadic
#AE2EB1 #B1AE2E #2EB1AE
tetradic
#AE2EB1 #B16C2E #31B12E #2E72B1
square
#AE2EB1 #B16C2E #31B12E #2E72B1
split-complementary
#AE2EB1 #72B12E #2EB16C
monochromatic
#4E1550 #7E2180 #AE2EB1 #CD4CD0 #DB7CDD

Accessibility & contrast

On white

5.49
#AE2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AE2EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2EB1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2EB1#FFFFFF#000000##FFFFFF
##AE2EB11.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#B3446E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae2eb1;
/* rgb */ color: rgb(174, 46, 177);
/* oklch */ color: oklch(54.9% 0.217 327.0);
Tailwind
colors: {
  custom: {
    50: '#ca74c9',
    500: '#ae2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #ae2eb1;
$custom-light: #ca74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2eb1",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 298.626,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.21673,
    "h": 327
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#AE2EB1
secondary
#77C675
accent
#E24649
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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