#AE40D9#AE40D9

#AE40D9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.231 H 314.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AE40D9
RGBrgb(174, 64, 217)
HSLhsl(283, 67%, 55%)
HSVhsv(283, 71%, 85%)
CMYKcmyk(19.8%, 70.5%, 0%, 14.9%)
CIE-LABlab(49.10, 66.54, -58.18)
CIE-LCHlch(49.10, 88.39, 318.84°)
OKLaboklab(59.06% 0.1621 -0.164)
OKLCHoklch(59.06% 0.231 314.7)
XYZxyz(31.8113, 17.6763, 67.3684)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40D9 #6BD940
analogous
#6140D9 #AE40D9 #D940B8
triadic
#AE40D9 #D9AE40 #40D9AE
tetradic
#AE40D9 #D96140 #6BD940 #40B8D9
square
#AE40D9 #D96140 #6BD940 #40B8D9
split-complementary
#AE40D9 #B8D940 #40D961
monochromatic
#671A84 #8E24B7 #AE40D9 #C473E3 #D9A6ED

Accessibility & contrast

On white

4.63
#AE40D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AE40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40D9#FFFFFF#000000##FFFFFF
##AE40D91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3977D6
Tritanopia (blue-blind)
#AA6089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae40d9;
/* rgb */ color: rgb(174, 64, 217);
/* oklch */ color: oklch(59.1% 0.231 314.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ee5',
    500: '#ae40d9',
    950: '#000000',
  },
}
SCSS
$custom: #ae40d9;
$custom-light: #ca7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40d9",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 283.137,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.23054,
    "h": 314.7
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#AE40D9
secondary
#ACDA9A
accent
#EA3E6E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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