#AE42E2#AE42E2

#AE42E2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.236 H 312.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AE42E2
RGBrgb(174, 66, 226)
HSLhsl(281, 73%, 57%)
HSVhsv(281, 71%, 89%)
CMYKcmyk(23%, 70.8%, 0%, 11.4%)
CIE-LABlab(49.96, 67.56, -61.91)
CIE-LCHlch(49.96, 91.63, 317.50°)
OKLaboklab(59.86% 0.1591 -0.1749)
OKLCHoklch(59.86% 0.236 312.3)
XYZxyz(33.1287, 18.3870, 73.7407)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42E2 #76E242
analogous
#5E42E2 #AE42E2 #E242C6
triadic
#AE42E2 #E2AE42 #42E2AE
tetradic
#AE42E2 #E25E42 #76E242 #42C6E2
square
#AE42E2 #E25E42 #76E242 #42C6E2
split-complementary
#AE42E2 #C6E242 #42E25E
monochromatic
#6B1793 #911FC8 #AE42E2 #C577EA #DBACF2

Accessibility & contrast

On white

4.49
#AE42E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AE42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42E2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42E2#FFFFFF#000000##000000
##AE42E21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#A8658E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae42e2;
/* rgb */ color: rgb(174, 66, 226);
/* oklch */ color: oklch(59.9% 0.236 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb7fec',
    500: '#ae42e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae42e2;
$custom-light: #cb7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42e2",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 280.5,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.23644,
    "h": 312.3
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#AE42E2
secondary
#B5E09F
accent
#F03874
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AE42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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