#AE2EB7#AE2EB7

#AE2EB7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.221 H 325.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AE2EB7
RGBrgb(174, 46, 183)
HSLhsl(296, 60%, 45%)
HSVhsv(296, 75%, 72%)
CMYKcmyk(4.9%, 74.9%, 0%, 28.2%)
CIE-LABlab(44.76, 66.69, -45.46)
CIE-LCHlch(44.76, 80.71, 325.72°)
OKLaboklab(55.3% 0.1816 -0.1266)
OKLCHoklch(55.3% 0.221 325.1)
XYZxyz(26.9792, 14.3733, 46.1439)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2EB7 #37B72E
analogous
#692EB7 #AE2EB7 #B72E7C
triadic
#AE2EB7 #B7AE2E #2EB7AE
tetradic
#AE2EB7 #B7692E #37B72E #2E7CB7
square
#AE2EB7 #B7692E #37B72E #2E7CB7
split-complementary
#AE2EB7 #7CB72E #2EB769
monochromatic
#511555 #7F2286 #AE2EB7 #CA4FD3 #D980DF

Accessibility & contrast

On white

5.42
#AE2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AE2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2EB7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2EB7#FFFFFF#000000##FFFFFF
##AE2EB71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae2eb7;
/* rgb */ color: rgb(174, 46, 183);
/* oklch */ color: oklch(55.3% 0.221 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca75cd',
    500: '#ae2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #ae2eb7;
$custom-light: #ca75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2eb7",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 296.058,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.553,
    "c": 0.22141,
    "h": 325.1
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#AE2EB7
secondary
#7EC879
accent
#E3454F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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