#AE5FA4#AE5FA4

#AE5FA4 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.1% C 0.135 H 331.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AE5FA4
RGBrgb(174, 95, 164)
HSLhsl(308, 33%, 53%)
HSVhsv(308, 45%, 68%)
CMYKcmyk(0%, 45.4%, 5.7%, 31.8%)
CIE-LABlab(51.68, 41.93, -23.45)
CIE-LCHlch(51.68, 48.04, 330.79°)
OKLaboklab(60.05% 0.1194 -0.0636)
OKLCHoklch(60.05% 0.135 331.9)
XYZxyz(28.2484, 19.8650, 37.4612)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FA4 #5FAE69
analogous
#905FAE #AE5FA4 #AE5F7C
triadic
#AE5FA4 #A4AE5F #5FA4AE
tetradic
#AE5FA4 #AE905F #5FAE69 #5F7CAE
square
#AE5FA4 #AE905F #5FAE69 #5F7CAE
split-complementary
#AE5FA4 #7CAE5F #5FAE90
monochromatic
#61315B #8A4681 #AE5FA4 #C388BB #D7B0D2

Accessibility & contrast

On white

4.22
#AE5FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AE5FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FA4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FA4#FFFFFF#000000##000000
##AE5FA41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A6
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#B4647A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae5fa4;
/* rgb */ color: rgb(174, 95, 164);
/* oklch */ color: oklch(60.1% 0.135 331.9);
Tailwind
colors: {
  custom: {
    50: '#c88fbf',
    500: '#ae5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fa4;
$custom-light: #c88fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fa4",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 307.595,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.13526,
    "h": 331.9
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

primary
#AE5FA4
secondary
#A3C6A8
accent
#C96C5F
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AE5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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