#AE5FA2#AE5FA2

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

Color values

HEX#AE5FA2
RGBrgb(174, 95, 162)
HSLhsl(309, 33%, 53%)
HSVhsv(309, 45%, 68%)
CMYKcmyk(0%, 45.4%, 6.9%, 31.8%)
CIE-LABlab(51.60, 41.58, -22.40)
CIE-LCHlch(51.60, 47.23, 331.69°)
OKLaboklab(59.96% 0.1189 -0.0607)
OKLCHoklch(59.96% 0.133 333)
XYZxyz(28.0692, 19.7934, 36.5175)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FA2 #5FAE6B
analogous
#925FAE #AE5FA2 #AE5F7A
triadic
#AE5FA2 #A2AE5F #5FA2AE
tetradic
#AE5FA2 #AE925F #5FAE6B #5F7AAE
square
#AE5FA2 #AE925F #5FAE6B #5F7AAE
split-complementary
#AE5FA2 #7AAE5F #5FAE92
monochromatic
#61315A #8A4680 #AE5FA2 #C388BA #D7B0D1

Accessibility & contrast

On white

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

On black

4.96
#AE5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FA2#FFFFFF#000000##000000
##AE5FA21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#737FA0
Tritanopia (blue-blind)
#B46479
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae5fa2;
/* rgb */ color: rgb(174, 95, 162);
/* oklch */ color: oklch(60.0% 0.133 333.0);
Tailwind
colors: {
  custom: {
    50: '#c88fbd',
    500: '#ae5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fa2;
$custom-light: #c88fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fa2",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 309.114,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.13348,
    "h": 333
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#AE5FA2
secondary
#A3C6A8
accent
#C96F5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AE5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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