#AE2FB4#AE2FB4

#AE2FB4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.218 H 326.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AE2FB4
RGBrgb(174, 47, 180)
HSLhsl(297, 59%, 45%)
HSVhsv(297, 74%, 71%)
CMYKcmyk(3.3%, 73.9%, 0%, 29.4%)
CIE-LABlab(44.70, 65.86, -43.80)
CIE-LCHlch(44.70, 79.09, 326.38°)
OKLaboklab(55.2% 0.1809 -0.1218)
OKLCHoklch(55.2% 0.218 326)
XYZxyz(26.7098, 14.3288, 44.5301)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FB4 #35B42F
analogous
#6B2FB4 #AE2FB4 #B42F78
triadic
#AE2FB4 #B4AE2F #2FB4AE
tetradic
#AE2FB4 #B46B2F #35B42F #2F78B4
square
#AE2FB4 #B46B2F #35B42F #2F78B4
split-complementary
#AE2FB4 #78B42F #2FB46B
monochromatic
#501653 #7F2283 #AE2FB4 #CB4FD1 #DA80DE

Accessibility & contrast

On white

5.43
#AE2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2FB4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FB4#FFFFFF#000000##FFFFFF
##AE2FB41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#B2466F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae2fb4;
/* rgb */ color: rgb(174, 47, 180);
/* oklch */ color: oklch(55.2% 0.218 326.0);
Tailwind
colors: {
  custom: {
    50: '#ca75cb',
    500: '#ae2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fb4;
$custom-light: #ca75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fb4",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 297.293,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.552,
    "c": 0.21803,
    "h": 326
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#AE2FB4
secondary
#7CC778
accent
#E2464D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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