#AE5FA8#AE5FA8

#AE5FA8 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.2% C 0.139 H 330.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE5FA8
RGBrgb(174, 95, 168)
HSLhsl(305, 33%, 53%)
HSVhsv(305, 45%, 68%)
CMYKcmyk(0%, 45.4%, 3.4%, 31.8%)
CIE-LABlab(51.85, 42.65, -25.53)
CIE-LCHlch(51.85, 49.71, 329.10°)
OKLaboklab(60.23% 0.1202 -0.0695)
OKLCHoklch(60.23% 0.139 330)
XYZxyz(28.6153, 20.0118, 39.3936)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FA8 #5FAE65
analogous
#8C5FAE #AE5FA8 #AE5F80
triadic
#AE5FA8 #A8AE5F #5FA8AE
tetradic
#AE5FA8 #AE8C5F #5FAE65 #5F80AE
square
#AE5FA8 #AE8C5F #5FAE65 #5F80AE
split-complementary
#AE5FA8 #80AE5F #5FAE8C
monochromatic
#61315E #8A4685 #AE5FA8 #C388BE #D7B0D4

Accessibility & contrast

On white

4.20
#AE5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AE5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FA8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FA8#FFFFFF#000000##000000
##AE5FA81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AB
Deuteranopia (green-blind)
#7180A6
Tritanopia (blue-blind)
#B3657C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae5fa8;
/* rgb */ color: rgb(174, 95, 168);
/* oklch */ color: oklch(60.2% 0.139 330.0);
Tailwind
colors: {
  custom: {
    50: '#c88fc2',
    500: '#ae5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fa8;
$custom-light: #c88fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fa8",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 304.557,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.1389,
    "h": 330
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#AE5FA8
secondary
#A3C6A6
accent
#C9675F
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AE5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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