#AE42D0#AE42D0

#AE42D0 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.220 H 317.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AE42D0
RGBrgb(174, 66, 208)
HSLhsl(286, 60%, 54%)
HSVhsv(286, 68%, 82%)
CMYKcmyk(16.3%, 68.3%, 0%, 18.4%)
CIE-LABlab(48.82, 63.98, -53.48)
CIE-LCHlch(48.82, 83.38, 320.11°)
OKLaboklab(58.68% 0.1608 -0.1502)
OKLCHoklch(58.68% 0.22 317)
XYZxyz(30.7873, 17.4504, 61.4088)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42D0 #64D042
analogous
#6742D0 #AE42D0 #D042AB
triadic
#AE42D0 #D0AE42 #42D0AE
tetradic
#AE42D0 #D06742 #64D042 #42ABD0
square
#AE42D0 #D06742 #64D042 #42ABD0
split-complementary
#AE42D0 #ABD042 #42D067
monochromatic
#641E79 #8C2AAA #AE42D0 #C373DC #D8A4E8

Accessibility & contrast

On white

4.68
#AE42D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AE42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42D0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42D0#FFFFFF#000000##FFFFFF
##AE42D01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#AC5D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae42d0;
/* rgb */ color: rgb(174, 66, 208);
/* oklch */ color: oklch(58.7% 0.220 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fdf',
    500: '#ae42d0',
    950: '#000000',
  },
}
SCSS
$custom: #ae42d0;
$custom-light: #ca7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42d0",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 285.634,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.22,
    "h": 317
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#AE42D0
secondary
#A7D599
accent
#E3446B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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