#AE40CF#AE40CF

#AE40CF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.222 H 317.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AE40CF
RGBrgb(174, 64, 207)
HSLhsl(286, 60%, 53%)
HSVhsv(286, 69%, 81%)
CMYKcmyk(15.9%, 69.1%, 0%, 18.8%)
CIE-LABlab(48.48, 64.59, -53.46)
CIE-LCHlch(48.48, 83.84, 320.38°)
OKLaboklab(58.41% 0.1629 -0.1501)
OKLCHoklch(58.41% 0.222 317.3)
XYZxyz(30.5498, 17.1717, 60.7246)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40CF #61CF40
analogous
#6640CF #AE40CF #CF40A8
triadic
#AE40CF #CFAE40 #40CFAE
tetradic
#AE40CF #CF6640 #61CF40 #40A8CF
square
#AE40CF #CF6640 #61CF40 #40A8CF
split-complementary
#AE40CF #A8CF40 #40CF66
monochromatic
#621E77 #8B2AA8 #AE40CF #C371DB #D7A2E8

Accessibility & contrast

On white

4.74
#AE40CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AE40CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40CF#FFFFFF#000000##FFFFFF
##AE40CF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#4476CC
Tritanopia (blue-blind)
#AD5C83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae40cf;
/* rgb */ color: rgb(174, 64, 207);
/* oklch */ color: oklch(58.4% 0.222 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ede',
    500: '#ae40cf',
    950: '#000000',
  },
}
SCSS
$custom: #ae40cf;
$custom-light: #ca7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40cf",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 286.154,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58411,
    "c": 0.22153,
    "h": 317.3
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#AE40CF
secondary
#A5D497
accent
#E34569
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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