#AE4FAC#AE4FAC

#AE4FAC is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.169 H 328.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AE4FAC
RGBrgb(174, 79, 172)
HSLhsl(301, 38%, 50%)
HSVhsv(301, 55%, 68%)
CMYKcmyk(0%, 54.6%, 1.1%, 31.8%)
CIE-LABlab(48.97, 51.44, -32.35)
CIE-LCHlch(48.97, 60.77, 327.84°)
OKLaboklab(58.16% 0.1438 -0.0889)
OKLCHoklch(58.16% 0.169 328.3)
XYZxyz(27.6976, 17.5709, 40.9544)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FAC #4FAE51
analogous
#814FAE #AE4FAC #AE4F7D
triadic
#AE4FAC #ACAE4F #4FACAE
tetradic
#AE4FAC #AE814F #4FAE51 #4F7DAE
square
#AE4FAC #AE814F #4FAE51 #4F7DAE
split-complementary
#AE4FAC #7DAE4F #4FAE81
monochromatic
#5A2959 #843C82 #AE4FAC #C278C0 #D5A2D4

Accessibility & contrast

On white

4.65
#AE4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AE4FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FAC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FAC#FFFFFF#000000##FFFFFF
##AE4FAC1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAF
Deuteranopia (green-blind)
#6479A9
Tritanopia (blue-blind)
#B35976
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae4fac;
/* rgb */ color: rgb(174, 79, 172);
/* oklch */ color: oklch(58.2% 0.169 328.3);
Tailwind
colors: {
  custom: {
    50: '#c985c5',
    500: '#ae4fac',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fac;
$custom-light: #c985c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fac",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 301.263,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.16906,
    "h": 328.3
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#AE4FAC
secondary
#97C298
accent
#CE5D5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AE4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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