#AE40E2#AE40E2

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

Color values

HEX#AE40E2
RGBrgb(174, 64, 226)
HSLhsl(281, 74%, 57%)
HSVhsv(281, 72%, 89%)
CMYKcmyk(23%, 71.7%, 0%, 11.4%)
CIE-LABlab(49.69, 68.34, -62.35)
CIE-LCHlch(49.69, 92.51, 317.62°)
OKLaboklab(59.66% 0.161 -0.1762)
OKLCHoklch(59.66% 0.239 312.4)
XYZxyz(33.0139, 18.1574, 73.7024)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40E2 #74E240
analogous
#5D40E2 #AE40E2 #E240C5
triadic
#AE40E2 #E2AE40 #40E2AE
tetradic
#AE40E2 #E25D40 #74E240 #40C5E2
square
#AE40E2 #E25D40 #74E240 #40C5E2
split-complementary
#AE40E2 #C5E240 #40E25D
monochromatic
#6A1692 #911EC7 #AE40E2 #C575EA #DBAAF2

Accessibility & contrast

On white

4.53
#AE40E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AE40E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40E2#FFFFFF#000000##000000
##AE40E21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae40e2;
/* rgb */ color: rgb(174, 64, 226);
/* oklch */ color: oklch(59.7% 0.239 312.4);
Tailwind
colors: {
  custom: {
    50: '#cb7eec',
    500: '#ae40e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae40e2;
$custom-light: #cb7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40e2",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 226
  },
  "hsl": {
    "h": 280.741,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.23869,
    "h": 312.4
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#AE40E2
secondary
#B3E09E
accent
#F03873
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AE40E2

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

Preview Lab → · Contrast checker → · Palette generator →

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