#AE42D8#AE42D8

#AE42D8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.227 H 314.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AE42D8
RGBrgb(174, 66, 216)
HSLhsl(283, 66%, 55%)
HSVhsv(283, 69%, 85%)
CMYKcmyk(19.4%, 69.4%, 0%, 15.3%)
CIE-LABlab(49.32, 65.55, -57.26)
CIE-LCHlch(49.32, 87.04, 318.86°)
OKLaboklab(59.19% 0.1602 -0.1613)
OKLCHoklch(59.19% 0.227 314.8)
XYZxyz(31.7964, 17.8541, 66.7237)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42D8 #6CD842
analogous
#6342D8 #AE42D8 #D842B7
triadic
#AE42D8 #D8AE42 #42D8AE
tetradic
#AE42D8 #D86342 #6CD842 #42B7D8
square
#AE42D8 #D86342 #6CD842 #42B7D8
split-complementary
#AE42D8 #B7D842 #42D863
monochromatic
#671B84 #8E26B7 #AE42D8 #C475E2 #D9A7ED

Accessibility & contrast

On white

4.59
#AE42D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AE42D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42D8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42D8#FFFFFF#000000##FFFFFF
##AE42D81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#AA6189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae42d8;
/* rgb */ color: rgb(174, 66, 216);
/* oklch */ color: oklch(59.2% 0.227 314.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fe5',
    500: '#ae42d8',
    950: '#000000',
  },
}
SCSS
$custom: #ae42d8;
$custom-light: #ca7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42d8",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 283.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.22729,
    "h": 314.8
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#AE42D8
secondary
#ADDA9C
accent
#E93F6F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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