#AE2F9F#AE2F9F

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

Color values

HEX#AE2F9F
RGBrgb(174, 47, 159)
HSLhsl(307, 57%, 43%)
HSVhsv(307, 73%, 68%)
CMYKcmyk(0%, 73%, 8.6%, 31.8%)
CIE-LABlab(43.56, 62.47, -33.13)
CIE-LCHlch(43.56, 70.71, 332.06°)
OKLaboklab(54.02% 0.1805 -0.0909)
OKLCHoklch(54.02% 0.202 333.3)
XYZxyz(24.7302, 13.5370, 34.1046)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F9F #2FAE3E
analogous
#7D2FAE #AE2F9F #AE2F5F
triadic
#AE2F9F #9FAE2F #2F9FAE
tetradic
#AE2F9F #AE7D2F #2FAE3E #2F5FAE
square
#AE2F9F #AE7D2F #2FAE3E #2F5FAE
split-complementary
#AE2F9F #5FAE2F #2FAE7D
monochromatic
#4E1547 #7E2273 #AE2F9F #CF4CBF #DC7CD0

Accessibility & contrast

On white

5.66
#AE2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AE2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F9F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F9F#FFFFFF#000000##FFFFFF
##AE2F9F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#B63B64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae2f9f;
/* rgb */ color: rgb(174, 47, 159);
/* oklch */ color: oklch(54.0% 0.202 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca74bc',
    500: '#ae2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f9f;
$custom-light: #ca74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f9f",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 307.087,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.20209,
    "h": 333.3
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#AE2F9F
secondary
#75C47E
accent
#E15947
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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