#AE40C5#AE40C5

#AE40C5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.213 H 320.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AE40C5
RGBrgb(174, 64, 197)
HSLhsl(290, 53%, 51%)
HSVhsv(290, 68%, 77%)
CMYKcmyk(11.7%, 67.5%, 0%, 22.7%)
CIE-LABlab(47.88, 62.68, -48.65)
CIE-LCHlch(47.88, 79.35, 322.18°)
OKLaboklab(57.79% 0.1634 -0.136)
OKLCHoklch(57.79% 0.213 320.2)
XYZxyz(29.3658, 16.6981, 54.4887)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40C5 #57C540
analogous
#6B40C5 #AE40C5 #C54099
triadic
#AE40C5 #C5AE40 #40C5AE
tetradic
#AE40C5 #C56B40 #57C540 #4099C5
square
#AE40C5 #C56B40 #57C540 #4099C5
split-complementary
#AE40C5 #99C540 #40C56B
monochromatic
#5E206A #872F99 #AE40C5 #C26FD3 #D69EE2

Accessibility & contrast

On white

4.84
#AE40C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AE40C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40C5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40C5#FFFFFF#000000##FFFFFF
##AE40C51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6AC9
Deuteranopia (green-blind)
#4C75C2
Tritanopia (blue-blind)
#AF587E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae40c5;
/* rgb */ color: rgb(174, 64, 197);
/* oklch */ color: oklch(57.8% 0.213 320.2);
Tailwind
colors: {
  custom: {
    50: '#ca7dd7',
    500: '#ae40c5',
    950: '#000000',
  },
}
SCSS
$custom: #ae40c5;
$custom-light: #ca7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40c5",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 289.624,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.21263,
    "h": 320.2
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#AE40C5
secondary
#9DCE93
accent
#DD4B64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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