#AE2EB8#AE2EB8

#AE2EB8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.222 H 324.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AE2EB8
RGBrgb(174, 46, 184)
HSLhsl(296, 60%, 45%)
HSVhsv(296, 75%, 72%)
CMYKcmyk(5.4%, 75%, 0%, 27.8%)
CIE-LABlab(44.82, 66.86, -45.96)
CIE-LCHlch(44.82, 81.13, 325.50°)
OKLaboklab(55.36% 0.1816 -0.128)
OKLCHoklch(55.36% 0.222 324.8)
XYZxyz(27.0836, 14.4151, 46.6940)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2EB8 #38B82E
analogous
#692EB8 #AE2EB8 #B82E7D
triadic
#AE2EB8 #B8AE2E #2EB8AE
tetradic
#AE2EB8 #B8692E #38B82E #2E7DB8
square
#AE2EB8 #B8692E #38B82E #2E7DB8
split-complementary
#AE2EB8 #7DB82E #2EB869
monochromatic
#511656 #802287 #AE2EB8 #CA50D3 #D981DF

Accessibility & contrast

On white

5.41
#AE2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AE2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2EB8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2EB8#FFFFFF#000000##FFFFFF
##AE2EB81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#4B6FB5
Tritanopia (blue-blind)
#B24771
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae2eb8;
/* rgb */ color: rgb(174, 46, 184);
/* oklch */ color: oklch(55.4% 0.222 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca75ce',
    500: '#ae2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #ae2eb8;
$custom-light: #ca75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2eb8",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 295.652,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.2222,
    "h": 324.8
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#AE2EB8
secondary
#7FC879
accent
#E34550
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AE2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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