#AE2EA8#AE2EA8

#AE2EA8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.210 H 330.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AE2EA8
RGBrgb(174, 46, 168)
HSLhsl(303, 58%, 43%)
HSVhsv(303, 74%, 68%)
CMYKcmyk(0%, 73.6%, 3.4%, 31.8%)
CIE-LABlab(43.92, 64.21, -37.94)
CIE-LCHlch(43.92, 74.58, 329.42°)
OKLaboklab(54.42% 0.1819 -0.1047)
OKLCHoklch(54.42% 0.21 330.1)
XYZxyz(25.5003, 13.7818, 38.3553)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2EA8 #2EAE34
analogous
#742EAE #AE2EA8 #AE2E68
triadic
#AE2EA8 #A8AE2E #2EA8AE
tetradic
#AE2EA8 #AE742E #2EAE34 #2E68AE
square
#AE2EA8 #AE742E #2EAE34 #2E68AE
split-complementary
#AE2EA8 #68AE2E #2EAE74
monochromatic
#4D144B #7E2179 #AE2EA8 #CF4AC9 #DC7AD7

Accessibility & contrast

On white

5.59
#AE2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AE2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2EA8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2EA8#FFFFFF#000000##FFFFFF
##AE2EA81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAB
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#B53F69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2ea8;
/* rgb */ color: rgb(174, 46, 168);
/* oklch */ color: oklch(54.4% 0.210 330.1);
Tailwind
colors: {
  custom: {
    50: '#ca74c2',
    500: '#ae2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ea8;
$custom-light: #ca74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ea8",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 302.813,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.20986,
    "h": 330.1
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#AE2EA8
secondary
#74C477
accent
#E14E46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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