#AE40C3#AE40C3

#AE40C3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.211 H 320.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AE40C3
RGBrgb(174, 64, 195)
HSLhsl(290, 52%, 51%)
HSVhsv(290, 67%, 76%)
CMYKcmyk(10.8%, 67.2%, 0%, 23.5%)
CIE-LABlab(47.76, 62.31, -47.68)
CIE-LCHlch(47.76, 78.46, 322.58°)
OKLaboklab(57.67% 0.1635 -0.1332)
OKLCHoklch(57.67% 0.211 320.8)
XYZxyz(29.1381, 16.6071, 53.2899)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40C3 #55C340
analogous
#6C40C3 #AE40C3 #C34096
triadic
#AE40C3 #C3AE40 #40C3AE
tetradic
#AE40C3 #C36C40 #55C340 #4096C3
square
#AE40C3 #C36C40 #55C340 #4096C3
split-complementary
#AE40C3 #96C340 #40C36C
monochromatic
#5D2168 #862F97 #AE40C3 #C26FD2 #D59DE0

Accessibility & contrast

On white

4.86
#AE40C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AE40C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40C3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40C3#FFFFFF#000000##FFFFFF
##AE40C31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136AC7
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#AF577C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae40c3;
/* rgb */ color: rgb(174, 64, 195);
/* oklch */ color: oklch(57.7% 0.211 320.8);
Tailwind
colors: {
  custom: {
    50: '#ca7dd6',
    500: '#ae40c3',
    950: '#000000',
  },
}
SCSS
$custom: #ae40c3;
$custom-light: #ca7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40c3",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 290.382,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.21087,
    "h": 320.8
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#AE40C3
secondary
#9CCC92
accent
#DC4C63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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