#AE42D2#AE42D2

#AE42D2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.222 H 316.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AE42D2
RGBrgb(174, 66, 210)
HSLhsl(285, 62%, 54%)
HSVhsv(285, 69%, 82%)
CMYKcmyk(17.1%, 68.6%, 0%, 17.6%)
CIE-LABlab(48.95, 64.37, -54.43)
CIE-LCHlch(48.95, 84.30, 319.78°)
OKLaboklab(58.81% 0.1606 -0.153)
OKLCHoklch(58.81% 0.222 316.4)
XYZxyz(31.0349, 17.5495, 62.7129)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42D2 #66D242
analogous
#6642D2 #AE42D2 #D242AE
triadic
#AE42D2 #D2AE42 #42D2AE
tetradic
#AE42D2 #D26642 #66D242 #42AED2
square
#AE42D2 #D26642 #66D242 #42AED2
split-complementary
#AE42D2 #AED242 #42D266
monochromatic
#641E7C #8C29AD #AE42D2 #C373DE #D8A5EA

Accessibility & contrast

On white

4.66
#AE42D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AE42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42D2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42D2#FFFFFF#000000##FFFFFF
##AE42D21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#AC5E85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae42d2;
/* rgb */ color: rgb(174, 66, 210);
/* oklch */ color: oklch(58.8% 0.222 316.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fe0',
    500: '#ae42d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae42d2;
$custom-light: #ca7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42d2",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 285,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.22182,
    "h": 316.4
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#AE42D2
secondary
#A9D799
accent
#E5436C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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