#AE2F9B#AE2F9B

#AE2F9B is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.8% C 0.199 H 334.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AE2F9B
RGBrgb(174, 47, 155)
HSLhsl(309, 57%, 43%)
HSVhsv(309, 73%, 68%)
CMYKcmyk(0%, 73%, 10.9%, 31.8%)
CIE-LABlab(43.36, 61.86, -31.05)
CIE-LCHlch(43.36, 69.22, 333.35°)
OKLaboklab(53.81% 0.1802 -0.0849)
OKLCHoklch(53.81% 0.199 334.8)
XYZxyz(24.3887, 13.4004, 32.3060)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F9B #2FAE42
analogous
#812FAE #AE2F9B #AE2F5C
triadic
#AE2F9B #9BAE2F #2F9BAE
tetradic
#AE2F9B #AE812F #2FAE42 #2F5CAE
square
#AE2F9B #AE812F #2FAE42 #2F5CAE
split-complementary
#AE2F9B #5CAE2F #2FAE81
monochromatic
#4E1545 #7E2270 #AE2F9B #CF4CBB #DC7CCD

Accessibility & contrast

On white

5.71
#AE2F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AE2F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F9B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F9B#FFFFFF#000000##FFFFFF
##AE2F9B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#B63A62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f9b;
/* rgb */ color: rgb(174, 47, 155);
/* oklch */ color: oklch(53.8% 0.199 334.8);
Tailwind
colors: {
  custom: {
    50: '#ca74b9',
    500: '#ae2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f9b;
$custom-light: #ca74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f9b",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 308.976,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.19919,
    "h": 334.8
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#AE2F9B
secondary
#75C481
accent
#E15E47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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