#AE40DF#AE40DF

#AE40DF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.236 H 313.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AE40DF
RGBrgb(174, 64, 223)
HSLhsl(282, 71%, 56%)
HSVhsv(282, 71%, 87%)
CMYKcmyk(22%, 71.3%, 0%, 12.5%)
CIE-LABlab(49.49, 67.74, -60.97)
CIE-LCHlch(49.49, 91.13, 318.01°)
OKLaboklab(59.46% 0.1614 -0.1721)
OKLCHoklch(59.46% 0.236 313.2)
XYZxyz(32.6059, 17.9942, 71.5534)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40DF #71DF40
analogous
#5F40DF #AE40DF #DF40C1
triadic
#AE40DF #DFAE40 #40DFAE
tetradic
#AE40DF #DF5F40 #71DF40 #40C1DF
square
#AE40DF #DF5F40 #71DF40 #40C1DF
split-complementary
#AE40DF #C1DF40 #40DF5F
monochromatic
#69188D #9020C1 #AE40DF #C474E8 #DAA9F1

Accessibility & contrast

On white

4.57
#AE40DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AE40DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40DF#FFFFFF#000000##000000
##AE40DF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#A9628C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae40df;
/* rgb */ color: rgb(174, 64, 223);
/* oklch */ color: oklch(59.5% 0.236 313.2);
Tailwind
colors: {
  custom: {
    50: '#cb7eea',
    500: '#ae40df',
    950: '#000000',
  },
}
SCSS
$custom: #ae40df;
$custom-light: #cb7eea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40df",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 281.509,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.23597,
    "h": 313.2
  },
  "luminance": 0.17993
}

Semantic roles & 50–950 ramp

primary
#AE40DF
secondary
#B1DE9D
accent
#EE3A71
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AE40DF

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

Preview Lab → · Contrast checker → · Palette generator →

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