#AE40D2#AE40D2

#AE40D2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.224 H 316.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AE40D2
RGBrgb(174, 64, 210)
HSLhsl(285, 62%, 54%)
HSVhsv(285, 70%, 82%)
CMYKcmyk(17.1%, 69.5%, 0%, 17.6%)
CIE-LABlab(48.66, 65.17, -54.89)
CIE-LCHlch(48.66, 85.20, 319.90°)
OKLaboklab(58.6% 0.1627 -0.1543)
OKLCHoklch(58.6% 0.224 316.5)
XYZxyz(30.9200, 17.3198, 62.6746)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40D2 #64D240
analogous
#6540D2 #AE40D2 #D240AD
triadic
#AE40D2 #D2AE40 #40D2AE
tetradic
#AE40D2 #D26540 #64D240 #40ADD2
square
#AE40D2 #D26540 #64D240 #40ADD2
split-complementary
#AE40D2 #ADD240 #40D265
monochromatic
#641D7B #8C29AC #AE40D2 #C372DE #D8A3E9

Accessibility & contrast

On white

4.70
#AE40D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AE40D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40D2#FFFFFF#000000##FFFFFF
##AE40D21.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#AC5D85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae40d2;
/* rgb */ color: rgb(174, 64, 210);
/* oklch */ color: oklch(58.6% 0.224 316.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ee0',
    500: '#ae40d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae40d2;
$custom-light: #ca7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40d2",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 285.205,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.22423,
    "h": 316.5
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#AE40D2
secondary
#A7D698
accent
#E5436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE40D2

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

Preview Lab → · Contrast checker → · Palette generator →

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