#AE40C7#AE40C7

#AE40C7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.214 H 319.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AE40C7
RGBrgb(174, 64, 199)
HSLhsl(289, 55%, 52%)
HSVhsv(289, 68%, 78%)
CMYKcmyk(12.6%, 67.8%, 0%, 22%)
CIE-LABlab(47.99, 63.06, -49.62)
CIE-LCHlch(47.99, 80.24, 321.80°)
OKLaboklab(57.91% 0.1633 -0.1389)
OKLCHoklch(57.91% 0.214 319.6)
XYZxyz(29.5965, 16.7904, 55.7037)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40C7 #59C740
analogous
#6B40C7 #AE40C7 #C7409D
triadic
#AE40C7 #C7AE40 #40C7AE
tetradic
#AE40C7 #C76B40 #59C740 #409DC7
square
#AE40C7 #C76B40 #59C740 #409DC7
split-complementary
#AE40C7 #9DC740 #40C76B
monochromatic
#5E206D #882E9C #AE40C7 #C26FD5 #D69FE3

Accessibility & contrast

On white

4.82
#AE40C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AE40C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40C7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40C7#FFFFFF#000000##FFFFFF
##AE40C71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ACB
Deuteranopia (green-blind)
#4A76C4
Tritanopia (blue-blind)
#AE597F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae40c7;
/* rgb */ color: rgb(174, 64, 199);
/* oklch */ color: oklch(57.9% 0.214 319.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ed9',
    500: '#ae40c7',
    950: '#000000',
  },
}
SCSS
$custom: #ae40c7;
$custom-light: #ca7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40c7",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 288.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.2144,
    "h": 319.6
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#AE40C7
secondary
#9FCF94
accent
#DE4A65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE40C7

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

Preview Lab → · Contrast checker → · Palette generator →

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