#AE40DA#AE40DA

#AE40DA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.231 H 314.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AE40DA
RGBrgb(174, 64, 218)
HSLhsl(283, 68%, 55%)
HSVhsv(283, 71%, 85%)
CMYKcmyk(20.2%, 70.6%, 0%, 14.5%)
CIE-LABlab(49.17, 66.74, -58.65)
CIE-LCHlch(49.17, 88.85, 318.69°)
OKLaboklab(59.12% 0.162 -0.1653)
OKLCHoklch(59.12% 0.231 314.4)
XYZxyz(31.9417, 17.7285, 68.0554)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40DA #6CDA40
analogous
#6140DA #AE40DA #DA40B9
triadic
#AE40DA #DAAE40 #40DAAE
tetradic
#AE40DA #DA6140 #6CDA40 #40B9DA
square
#AE40DA #DA6140 #6CDA40 #40B9DA
split-complementary
#AE40DA #B9DA40 #40DA61
monochromatic
#671A86 #8E24B9 #AE40DA #C473E4 #D9A7EE

Accessibility & contrast

On white

4.62
#AE40DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AE40DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40DA#FFFFFF#000000##FFFFFF
##AE40DA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#AA6089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae40da;
/* rgb */ color: rgb(174, 64, 218);
/* oklch */ color: oklch(59.1% 0.231 314.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ee6',
    500: '#ae40da',
    950: '#000000',
  },
}
SCSS
$custom: #ae40da;
$custom-light: #ca7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40da",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 282.857,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.23144,
    "h": 314.4
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#AE40DA
secondary
#ADDB9B
accent
#EA3D6F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE40DA

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

Preview Lab → · Contrast checker → · Palette generator →

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