#AE42DC#AE42DC

#AE42DC is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.231 H 313.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AE42DC
RGBrgb(174, 66, 220)
HSLhsl(282, 69%, 56%)
HSVhsv(282, 70%, 86%)
CMYKcmyk(20.9%, 70%, 0%, 13.7%)
CIE-LABlab(49.57, 66.35, -59.13)
CIE-LCHlch(49.57, 88.87, 318.29°)
OKLaboklab(59.46% 0.1598 -0.1667)
OKLCHoklch(59.46% 0.231 313.8)
XYZxyz(32.3198, 18.0634, 69.4803)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42DC #70DC42
analogous
#6142DC #AE42DC #DC42BD
triadic
#AE42DC #DCAE42 #42DCAE
tetradic
#AE42DC #DC6142 #70DC42 #42BDDC
square
#AE42DC #DC6142 #70DC42 #42BDDC
split-complementary
#AE42DC #BDDC42 #42DC61
monochromatic
#681A8A #9023BE #AE42DC #C476E6 #DAA9EF

Accessibility & contrast

On white

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

On black

4.61
#AE42DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42DC#FFFFFF#000000##000000
##AE42DC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3878D9
Tritanopia (blue-blind)
#A9628B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae42dc;
/* rgb */ color: rgb(174, 66, 220);
/* oklch */ color: oklch(59.5% 0.231 313.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fe8',
    500: '#ae42dc',
    950: '#000000',
  },
}
SCSS
$custom: #ae42dc;
$custom-light: #ca7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42dc",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 282.078,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.23094,
    "h": 313.8
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#AE42DC
secondary
#B0DD9D
accent
#EC3C71
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE42DC

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

Preview Lab → · Contrast checker → · Palette generator →

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