#AE2F9D#AE2F9D

#AE2F9D is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.201 H 334.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AE2F9D
RGBrgb(174, 47, 157)
HSLhsl(308, 57%, 43%)
HSVhsv(308, 73%, 68%)
CMYKcmyk(0%, 73%, 9.8%, 31.8%)
CIE-LABlab(43.46, 62.17, -32.09)
CIE-LCHlch(43.46, 69.96, 332.69°)
OKLaboklab(53.91% 0.1804 -0.0879)
OKLCHoklch(53.91% 0.201 334)
XYZxyz(24.5581, 13.4681, 33.1980)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F9D #2FAE40
analogous
#7F2FAE #AE2F9D #AE2F5E
triadic
#AE2F9D #9DAE2F #2F9DAE
tetradic
#AE2F9D #AE7F2F #2FAE40 #2F5EAE
square
#AE2F9D #AE7F2F #2FAE40 #2F5EAE
split-complementary
#AE2F9D #5EAE2F #2FAE7F
monochromatic
#4E1546 #7E2272 #AE2F9D #CF4CBD #DC7CCF

Accessibility & contrast

On white

5.69
#AE2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AE2F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F9D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F9D#FFFFFF#000000##FFFFFF
##AE2F9D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#B63B63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae2f9d;
/* rgb */ color: rgb(174, 47, 157);
/* oklch */ color: oklch(53.9% 0.201 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca74ba',
    500: '#ae2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f9d;
$custom-light: #ca74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f9d",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 308.031,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.20064,
    "h": 334
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#AE2F9D
secondary
#75C47F
accent
#E15C47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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