#AE40C2#AE40C2

#AE40C2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.210 H 321.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AE40C2
RGBrgb(174, 64, 194)
HSLhsl(291, 52%, 51%)
HSVhsv(291, 67%, 76%)
CMYKcmyk(10.3%, 67%, 0%, 23.9%)
CIE-LABlab(47.70, 62.12, -47.19)
CIE-LCHlch(47.70, 78.01, 322.78°)
OKLaboklab(57.61% 0.1635 -0.1318)
OKLCHoklch(57.61% 0.21 321.1)
XYZxyz(29.0255, 16.5620, 52.6964)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40C2 #54C240
analogous
#6D40C2 #AE40C2 #C24095
triadic
#AE40C2 #C2AE40 #40C2AE
tetradic
#AE40C2 #C26D40 #54C240 #4095C2
square
#AE40C2 #C26D40 #54C240 #4095C2
split-complementary
#AE40C2 #95C240 #40C26D
monochromatic
#5C2167 #863095 #AE40C2 #C26ED1 #D59DE0

Accessibility & contrast

On white

4.87
#AE40C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AE40C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40C2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40C2#FFFFFF#000000##FFFFFF
##AE40C21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#AF567C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae40c2;
/* rgb */ color: rgb(174, 64, 194);
/* oklch */ color: oklch(57.6% 0.210 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca7dd5',
    500: '#ae40c2',
    950: '#000000',
  },
}
SCSS
$custom: #ae40c2;
$custom-light: #ca7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40c2",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 290.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.20999,
    "h": 321.1
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#AE40C2
secondary
#9BCC92
accent
#DB4D63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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