#AE40CA#AE40CA

#AE40CA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.217 H 318.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AE40CA
RGBrgb(174, 64, 202)
HSLhsl(288, 57%, 52%)
HSVhsv(288, 68%, 79%)
CMYKcmyk(13.9%, 68.3%, 0%, 20.8%)
CIE-LABlab(48.17, 63.63, -51.07)
CIE-LCHlch(48.17, 81.59, 321.25°)
OKLaboklab(58.1% 0.1632 -0.1431)
OKLCHoklch(58.1% 0.217 318.8)
XYZxyz(29.9482, 16.9311, 57.5562)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40CA #5CCA40
analogous
#6940CA #AE40CA #CA40A1
triadic
#AE40CA #CAAE40 #40CAAE
tetradic
#AE40CA #CA6940 #5CCA40 #40A1CA
square
#AE40CA #CA6940 #5CCA40 #40A1CA
split-complementary
#AE40CA #A1CA40 #40CA69
monochromatic
#601F70 #892CA0 #AE40CA #C270D7 #D7A0E5

Accessibility & contrast

On white

4.79
#AE40CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AE40CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40CA#FFFFFF#000000##FFFFFF
##AE40CA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#AE5A80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae40ca;
/* rgb */ color: rgb(174, 64, 202);
/* oklch */ color: oklch(58.1% 0.217 318.8);
Tailwind
colors: {
  custom: {
    50: '#ca7edb',
    500: '#ae40ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ca;
$custom-light: #ca7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ca",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 287.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.21707,
    "h": 318.8
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#AE40CA
secondary
#A1D195
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE40CA

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

Preview Lab → · Contrast checker → · Palette generator →

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