#AE5FAC#AE5FAC

#AE5FAC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.4% C 0.143 H 328.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AE5FAC
RGBrgb(174, 95, 172)
HSLhsl(302, 33%, 53%)
HSVhsv(302, 45%, 68%)
CMYKcmyk(0%, 45.4%, 1.1%, 31.8%)
CIE-LABlab(52.02, 43.39, -27.60)
CIE-LCHlch(52.02, 51.42, 327.54°)
OKLaboklab(60.41% 0.1211 -0.0754)
OKLCHoklch(60.41% 0.143 328.1)
XYZxyz(28.9937, 20.1632, 41.3864)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FAC #5FAE61
analogous
#885FAE #AE5FAC #AE5F84
triadic
#AE5FAC #ACAE5F #5FACAE
tetradic
#AE5FAC #AE885F #5FAE61 #5F84AE
square
#AE5FAC #AE885F #5FAE61 #5F84AE
split-complementary
#AE5FAC #84AE5F #5FAE88
monochromatic
#613160 #8A4688 #AE5FAC #C388C1 #D7B0D6

Accessibility & contrast

On white

4.17
#AE5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AE5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FAC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FAC#FFFFFF#000000##000000
##AE5FAC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#6F80AA
Tritanopia (blue-blind)
#B3667D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae5fac;
/* rgb */ color: rgb(174, 95, 172);
/* oklch */ color: oklch(60.4% 0.143 328.1);
Tailwind
colors: {
  custom: {
    50: '#c88fc5',
    500: '#ae5fac',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fac;
$custom-light: #c88fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fac",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 301.519,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.14263,
    "h": 328.1
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#AE5FAC
secondary
#A3C6A4
accent
#C9625F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #AE5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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