#AE42E1#AE42E1

#AE42E1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.236 H 312.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AE42E1
RGBrgb(174, 66, 225)
HSLhsl(281, 73%, 57%)
HSVhsv(281, 71%, 88%)
CMYKcmyk(22.7%, 70.7%, 0%, 11.8%)
CIE-LABlab(49.90, 67.36, -61.45)
CIE-LCHlch(49.90, 91.17, 317.63°)
OKLaboklab(59.79% 0.1592 -0.1735)
OKLCHoklch(59.79% 0.236 312.5)
XYZxyz(32.9919, 18.3323, 73.0201)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42E1 #75E142
analogous
#5F42E1 #AE42E1 #E142C4
triadic
#AE42E1 #E1AE42 #42E1AE
tetradic
#AE42E1 #E15F42 #75E142 #42C4E1
square
#AE42E1 #E15F42 #75E142 #42C4E1
split-complementary
#AE42E1 #C4E142 #42E15F
monochromatic
#6A1792 #911FC6 #AE42E1 #C577E9 #DBACF2

Accessibility & contrast

On white

4.50
#AE42E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AE42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42E1#FFFFFF#000000##000000
##AE42E11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#A8648E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae42e1;
/* rgb */ color: rgb(174, 66, 225);
/* oklch */ color: oklch(59.8% 0.236 312.5);
Tailwind
colors: {
  custom: {
    50: '#cb7feb',
    500: '#ae42e1',
    950: '#000000',
  },
}
SCSS
$custom: #ae42e1;
$custom-light: #cb7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42e1",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 280.755,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.23553,
    "h": 312.5
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#AE42E1
secondary
#B4E09F
accent
#EF3873
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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