#AE40CD#AE40CD

#AE40CD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.220 H 317.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AE40CD
RGBrgb(174, 64, 205)
HSLhsl(287, 59%, 53%)
HSVhsv(287, 69%, 80%)
CMYKcmyk(15.1%, 68.8%, 0%, 19.6%)
CIE-LABlab(48.35, 64.20, -52.51)
CIE-LCHlch(48.35, 82.94, 320.72°)
OKLaboklab(58.29% 0.1631 -0.1473)
OKLCHoklch(58.29% 0.22 317.9)
XYZxyz(30.3068, 17.0746, 59.4451)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40CD #5FCD40
analogous
#6840CD #AE40CD #CD40A5
triadic
#AE40CD #CDAE40 #40CDAE
tetradic
#AE40CD #CD6840 #5FCD40 #40A5CD
square
#AE40CD #CD6840 #5FCD40 #40A5CD
split-complementary
#AE40CD #A5CD40 #40CD68
monochromatic
#611E74 #8A2BA5 #AE40CD #C371DA #D7A1E6

Accessibility & contrast

On white

4.76
#AE40CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AE40CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40CD#FFFFFF#000000##FFFFFF
##AE40CD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#4676CA
Tritanopia (blue-blind)
#AD5B82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae40cd;
/* rgb */ color: rgb(174, 64, 205);
/* oklch */ color: oklch(58.3% 0.220 317.9);
Tailwind
colors: {
  custom: {
    50: '#ca7edd',
    500: '#ae40cd',
    950: '#000000',
  },
}
SCSS
$custom: #ae40cd;
$custom-light: #ca7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40cd",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 286.809,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.21975,
    "h": 317.9
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#AE40CD
secondary
#A3D396
accent
#E24668
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE40CD

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

Preview Lab → · Contrast checker → · Palette generator →

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