#AE40AE#AE40AE

#AE40AE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.193 H 327.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AE40AE
RGBrgb(174, 64, 174)
HSLhsl(300, 46%, 47%)
HSVhsv(300, 63%, 68%)
CMYKcmyk(0%, 63.2%, 0%, 31.8%)
CIE-LABlab(46.61, 58.53, -37.24)
CIE-LCHlch(46.61, 69.37, 327.53°)
OKLaboklab(56.47% 0.1631 -0.1028)
OKLCHoklch(56.47% 0.193 327.8)
XYZxyz(26.9286, 15.7232, 41.6527)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40AE #40AE40
analogous
#7740AE #AE40AE #AE4077
triadic
#AE40AE #AEAE40 #40AEAE
tetradic
#AE40AE #AE7740 #40AE40 #4077AE
square
#AE40AE #AE7740 #40AE40 #4077AE
split-complementary
#AE40AE #77AE40 #40AE77
monochromatic
#551F55 #813081 #AE40AE #C665C6 #D792D7

Accessibility & contrast

On white

5.07
#AE40AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AE40AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40AE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40AE#FFFFFF#000000##FFFFFF
##AE40AE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#5A74AB
Tritanopia (blue-blind)
#B34E71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ae40ae;
/* rgb */ color: rgb(174, 64, 174);
/* oklch */ color: oklch(56.5% 0.193 327.8);
Tailwind
colors: {
  custom: {
    50: '#c97dc6',
    500: '#ae40ae',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ae;
$custom-light: #c97dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ae",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 300,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.19279,
    "h": 327.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#AE40AE
secondary
#88C288
accent
#D65252
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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