#AE40D1#AE40D1

#AE40D1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.223 H 316.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AE40D1
RGBrgb(174, 64, 209)
HSLhsl(286, 61%, 54%)
HSVhsv(286, 69%, 82%)
CMYKcmyk(16.7%, 69.4%, 0%, 18%)
CIE-LABlab(48.60, 64.97, -54.41)
CIE-LCHlch(48.60, 84.75, 320.06°)
OKLaboklab(58.54% 0.1628 -0.1529)
OKLCHoklch(58.54% 0.223 316.8)
XYZxyz(30.7959, 17.2702, 62.0205)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40D1 #63D140
analogous
#6540D1 #AE40D1 #D140AB
triadic
#AE40D1 #D1AE40 #40D1AE
tetradic
#AE40D1 #D16540 #63D140 #40ABD1
square
#AE40D1 #D16540 #63D140 #40ABD1
split-complementary
#AE40D1 #ABD140 #40D165
monochromatic
#631D79 #8B29AB #AE40D1 #C371DD #D8A3E9

Accessibility & contrast

On white

4.72
#AE40D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AE40D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40D1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40D1#FFFFFF#000000##FFFFFF
##AE40D11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#4277CE
Tritanopia (blue-blind)
#AC5D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae40d1;
/* rgb */ color: rgb(174, 64, 209);
/* oklch */ color: oklch(58.5% 0.223 316.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ee0',
    500: '#ae40d1',
    950: '#000000',
  },
}
SCSS
$custom: #ae40d1;
$custom-light: #ca7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40d1",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 285.517,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.22333,
    "h": 316.8
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#AE40D1
secondary
#A6D597
accent
#E4446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE40D1

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

Preview Lab → · Contrast checker → · Palette generator →

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