#AE40E1#AE40E1

#AE40E1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.238 H 312.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AE40E1
RGBrgb(174, 64, 225)
HSLhsl(281, 73%, 57%)
HSVhsv(281, 72%, 88%)
CMYKcmyk(22.7%, 71.6%, 0%, 11.8%)
CIE-LABlab(49.62, 68.14, -61.89)
CIE-LCHlch(49.62, 92.05, 317.75°)
OKLaboklab(59.59% 0.1612 -0.1748)
OKLCHoklch(59.59% 0.238 312.7)
XYZxyz(32.8771, 18.1027, 72.9818)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40E1 #73E140
analogous
#5E40E1 #AE40E1 #E140C4
triadic
#AE40E1 #E1AE40 #40E1AE
tetradic
#AE40E1 #E15E40 #73E140 #40C4E1
square
#AE40E1 #E15E40 #73E140 #40C4E1
split-complementary
#AE40E1 #C4E140 #40E15E
monochromatic
#6A1790 #901FC5 #AE40E1 #C475E9 #DBAAF2

Accessibility & contrast

On white

4.55
#AE40E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AE40E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40E1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40E1#FFFFFF#000000##000000
##AE40E11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#2F78DD
Tritanopia (blue-blind)
#A8638D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae40e1;
/* rgb */ color: rgb(174, 64, 225);
/* oklch */ color: oklch(59.6% 0.238 312.7);
Tailwind
colors: {
  custom: {
    50: '#cb7eeb',
    500: '#ae40e1',
    950: '#000000',
  },
}
SCSS
$custom: #ae40e1;
$custom-light: #cb7eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40e1",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 280.994,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.23778,
    "h": 312.7
  },
  "luminance": 0.18102
}

Semantic roles & 50–950 ramp

primary
#AE40E1
secondary
#B2DF9D
accent
#F03872
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AE40E1

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

Preview Lab → · Contrast checker → · Palette generator →

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