#AE2F9E#AE2F9E

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

Color values

HEX#AE2F9E
RGBrgb(174, 47, 158)
HSLhsl(308, 57%, 43%)
HSVhsv(308, 73%, 68%)
CMYKcmyk(0%, 73%, 9.2%, 31.8%)
CIE-LABlab(43.51, 62.32, -32.61)
CIE-LCHlch(43.51, 70.34, 332.38°)
OKLaboklab(53.96% 0.1804 -0.0894)
OKLCHoklch(53.96% 0.201 333.7)
XYZxyz(24.6438, 13.5024, 33.6494)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F9E #2FAE3F
analogous
#7E2FAE #AE2F9E #AE2F5E
triadic
#AE2F9E #9EAE2F #2F9EAE
tetradic
#AE2F9E #AE7E2F #2FAE3F #2F5EAE
square
#AE2F9E #AE7E2F #2FAE3F #2F5EAE
split-complementary
#AE2F9E #5EAE2F #2FAE7E
monochromatic
#4E1546 #7E2272 #AE2F9E #CF4CBE #DC7CD0

Accessibility & contrast

On white

5.68
#AE2F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AE2F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F9E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F9E#FFFFFF#000000##FFFFFF
##AE2F9E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae2f9e;
/* rgb */ color: rgb(174, 47, 158);
/* oklch */ color: oklch(54.0% 0.201 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca74bb',
    500: '#ae2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f9e;
$custom-light: #ca74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f9e",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 307.559,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.20136,
    "h": 333.7
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#AE2F9E
secondary
#75C47F
accent
#E15A47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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