#AE40C4#AE40C4

#AE40C4 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.212 H 320.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AE40C4
RGBrgb(174, 64, 196)
HSLhsl(290, 53%, 51%)
HSVhsv(290, 67%, 77%)
CMYKcmyk(11.2%, 67.3%, 0%, 23.1%)
CIE-LABlab(47.82, 62.50, -48.17)
CIE-LCHlch(47.82, 78.90, 322.38°)
OKLaboklab(57.73% 0.1634 -0.1346)
OKLCHoklch(57.73% 0.212 320.5)
XYZxyz(29.2516, 16.6524, 53.8873)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40C4 #56C440
analogous
#6C40C4 #AE40C4 #C44098
triadic
#AE40C4 #C4AE40 #40C4AE
tetradic
#AE40C4 #C46C40 #56C440 #4098C4
square
#AE40C4 #C46C40 #56C440 #4098C4
split-complementary
#AE40C4 #98C440 #40C46C
monochromatic
#5D2069 #862F98 #AE40C4 #C26FD2 #D69EE1

Accessibility & contrast

On white

4.85
#AE40C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AE40C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40C4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40C4#FFFFFF#000000##FFFFFF
##AE40C41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106AC8
Deuteranopia (green-blind)
#4D75C1
Tritanopia (blue-blind)
#AF577D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae40c4;
/* rgb */ color: rgb(174, 64, 196);
/* oklch */ color: oklch(57.7% 0.212 320.5);
Tailwind
colors: {
  custom: {
    50: '#ca7dd6',
    500: '#ae40c4',
    950: '#000000',
  },
}
SCSS
$custom: #ae40c4;
$custom-light: #ca7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40c4",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 290,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.21175,
    "h": 320.5
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#AE40C4
secondary
#9CCD93
accent
#DC4C64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE40C4

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

Preview Lab → · Contrast checker → · Palette generator →

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