#AE2AB2#AE2AB2

#AE2AB2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.221 H 326.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AE2AB2
RGBrgb(174, 42, 178)
HSLhsl(298, 62%, 43%)
HSVhsv(298, 76%, 70%)
CMYKcmyk(2.2%, 76.4%, 0%, 30.2%)
CIE-LABlab(44.05, 67.07, -43.66)
CIE-LCHlch(44.05, 80.03, 326.94°)
OKLaboklab(54.7% 0.1853 -0.1213)
OKLCHoklch(54.7% 0.221 326.8)
XYZxyz(26.3190, 13.8708, 43.4020)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AB2 #2EB22A
analogous
#6A2AB2 #AE2AB2 #B22A72
triadic
#AE2AB2 #B2AE2A #2AB2AE
tetradic
#AE2AB2 #B26A2A #2EB22A #2A72B2
square
#AE2AB2 #B26A2A #2EB22A #2A72B2
split-complementary
#AE2AB2 #72B22A #2AB26A
monochromatic
#4D134F #7E1E80 #AE2AB2 #CF46D3 #DC77DF

Accessibility & contrast

On white

5.56
#AE2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2AB2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AB2#FFFFFF#000000##FFFFFF
##AE2AB21.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#B3426D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2ab2;
/* rgb */ color: rgb(174, 42, 178);
/* oklch */ color: oklch(54.7% 0.221 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca73c9',
    500: '#ae2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ab2;
$custom-light: #ca73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ab2",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 298.235,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.22145,
    "h": 326.8
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#AE2AB2
secondary
#74C771
accent
#E54348
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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