#AE5FA1#AE5FA1

#AE5FA1 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 59.9% C 0.133 H 333.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AE5FA1
RGBrgb(174, 95, 161)
HSLhsl(310, 33%, 53%)
HSVhsv(310, 45%, 68%)
CMYKcmyk(0%, 45.4%, 7.5%, 31.8%)
CIE-LABlab(51.56, 41.40, -21.88)
CIE-LCHlch(51.56, 46.82, 332.15°)
OKLaboklab(59.92% 0.1187 -0.0592)
OKLCHoklch(59.92% 0.133 333.5)
XYZxyz(27.9807, 19.7579, 36.0512)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FA1 #5FAE6C
analogous
#935FAE #AE5FA1 #AE5F7A
triadic
#AE5FA1 #A1AE5F #5FA1AE
tetradic
#AE5FA1 #AE935F #5FAE6C #5F7AAE
square
#AE5FA1 #AE935F #5FAE6C #5F7AAE
split-complementary
#AE5FA1 #7AAE5F #5FAE93
monochromatic
#613159 #8A467F #AE5FA1 #C388B9 #D7B0D1

Accessibility & contrast

On white

4.24
#AE5FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AE5FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FA1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FA1#FFFFFF#000000##000000
##AE5FA11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A3
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#B46378
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae5fa1;
/* rgb */ color: rgb(174, 95, 161);
/* oklch */ color: oklch(59.9% 0.133 333.5);
Tailwind
colors: {
  custom: {
    50: '#c88fbd',
    500: '#ae5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fa1;
$custom-light: #c88fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fa1",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 309.873,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.1326,
    "h": 333.5
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#AE5FA1
secondary
#A3C6A9
accent
#C9705F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AE5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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