#AE40E3#AE40E3

#AE40E3 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.240 H 312.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AE40E3
RGBrgb(174, 64, 227)
HSLhsl(280, 74%, 57%)
HSVhsv(280, 72%, 89%)
CMYKcmyk(23.3%, 71.8%, 0%, 11%)
CIE-LABlab(49.75, 68.54, -62.81)
CIE-LCHlch(49.75, 92.97, 317.50°)
OKLaboklab(59.73% 0.1609 -0.1775)
OKLCHoklch(59.73% 0.24 312.2)
XYZxyz(33.1515, 18.2124, 74.4272)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40E3 #75E340
analogous
#5D40E3 #AE40E3 #E340C6
triadic
#AE40E3 #E3AE40 #40E3AE
tetradic
#AE40E3 #E35D40 #75E340 #40C6E3
square
#AE40E3 #E35D40 #75E340 #40C6E3
split-complementary
#AE40E3 #C6E340 #40E35D
monochromatic
#6A1693 #911DC8 #AE40E3 #C575EB #DBABF3

Accessibility & contrast

On white

4.52
#AE40E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AE40E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40E3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40E3#FFFFFF#000000##000000
##AE40E31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#A8648E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae40e3;
/* rgb */ color: rgb(174, 64, 227);
/* oklch */ color: oklch(59.7% 0.240 312.2);
Tailwind
colors: {
  custom: {
    50: '#cb7fed',
    500: '#ae40e3',
    950: '#000000',
  },
}
SCSS
$custom: #ae40e3;
$custom-light: #cb7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40e3",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 280.491,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.2396,
    "h": 312.2
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#AE40E3
secondary
#B4E19E
accent
#F13773
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AE40E3

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

Preview Lab → · Contrast checker → · Palette generator →

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