#AE2AB1#AE2AB1

#AE2AB1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.221 H 327.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AE2AB1
RGBrgb(174, 42, 177)
HSLhsl(299, 62%, 43%)
HSVhsv(299, 76%, 69%)
CMYKcmyk(1.7%, 76.3%, 0%, 30.6%)
CIE-LABlab(43.99, 66.91, -43.16)
CIE-LCHlch(43.99, 79.62, 327.17°)
OKLaboklab(54.64% 0.1853 -0.1199)
OKLCHoklch(54.64% 0.221 327.1)
XYZxyz(26.2189, 13.8308, 42.8751)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AB1 #2DB12A
analogous
#6B2AB1 #AE2AB1 #B12A70
triadic
#AE2AB1 #B1AE2A #2AB1AE
tetradic
#AE2AB1 #B16B2A #2DB12A #2A70B1
square
#AE2AB1 #B16B2A #2DB12A #2A70B1
split-complementary
#AE2AB1 #70B12A #2AB16B
monochromatic
#4D134E #7D1E80 #AE2AB1 #D045D3 #DC77DF

Accessibility & contrast

On white

5.58
#AE2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AE2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AB1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AB1#FFFFFF#000000##FFFFFF
##AE2AB11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4D6EAE
Tritanopia (blue-blind)
#B3416D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2ab1;
/* rgb */ color: rgb(174, 42, 177);
/* oklch */ color: oklch(54.6% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca73c9',
    500: '#ae2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ab1;
$custom-light: #ca73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ab1",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 298.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.22069,
    "h": 327.1
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#AE2AB1
secondary
#72C670
accent
#E54347
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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