#AE40CE#AE40CE

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

Color values

HEX#AE40CE
RGBrgb(174, 64, 206)
HSLhsl(286, 59%, 53%)
HSVhsv(286, 69%, 81%)
CMYKcmyk(15.5%, 68.9%, 0%, 19.2%)
CIE-LABlab(48.41, 64.39, -52.98)
CIE-LCHlch(48.41, 83.39, 320.55°)
OKLaboklab(58.35% 0.163 -0.1487)
OKLCHoklch(58.35% 0.221 317.6)
XYZxyz(30.4279, 17.1230, 60.0828)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40CE #60CE40
analogous
#6740CE #AE40CE #CE40A7
triadic
#AE40CE #CEAE40 #40CEAE
tetradic
#AE40CE #CE6740 #60CE40 #40A7CE
square
#AE40CE #CE6740 #60CE40 #40A7CE
split-complementary
#AE40CE #A7CE40 #40CE67
monochromatic
#621E75 #8A2BA6 #AE40CE #C371DA #D7A1E7

Accessibility & contrast

On white

4.75
#AE40CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AE40CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40CE#FFFFFF#000000##FFFFFF
##AE40CE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#4576CB
Tritanopia (blue-blind)
#AD5B82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae40ce;
/* rgb */ color: rgb(174, 64, 206);
/* oklch */ color: oklch(58.3% 0.221 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ede',
    500: '#ae40ce',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ce;
$custom-light: #ca7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ce",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 286.479,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.22064,
    "h": 317.6
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#AE40CE
secondary
#A4D496
accent
#E24569
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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