#AE42C8#AE42C8

#AE42C8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.213 H 319.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AE42C8
RGBrgb(174, 66, 200)
HSLhsl(288, 55%, 52%)
HSVhsv(288, 67%, 78%)
CMYKcmyk(13%, 67%, 0%, 21.6%)
CIE-LABlab(48.34, 62.44, -49.64)
CIE-LCHlch(48.34, 79.76, 321.51°)
OKLaboklab(58.18% 0.1611 -0.1389)
OKLCHoklch(58.18% 0.213 319.2)
XYZxyz(29.8277, 17.0666, 56.3554)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42C8 #5CC842
analogous
#6B42C8 #AE42C8 #C8429F
triadic
#AE42C8 #C8AE42 #42C8AE
tetradic
#AE42C8 #C86B42 #5CC842 #429FC8
square
#AE42C8 #C86B42 #5CC842 #429FC8
split-complementary
#AE42C8 #9FC842 #42C86B
monochromatic
#60206F #892E9F #AE42C8 #C271D6 #D7A1E4

Accessibility & contrast

On white

4.76
#AE42C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AE42C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42C8#FFFFFF#000000##FFFFFF
##AE42C81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6CCC
Deuteranopia (green-blind)
#4B76C5
Tritanopia (blue-blind)
#AE5A80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae42c8;
/* rgb */ color: rgb(174, 66, 200);
/* oklch */ color: oklch(58.2% 0.213 319.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fd9',
    500: '#ae42c8',
    950: '#000000',
  },
}
SCSS
$custom: #ae42c8;
$custom-light: #ca7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42c8",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 288.358,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.21278,
    "h": 319.2
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#AE42C8
secondary
#A1D096
accent
#DE4A66
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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