#AE42C1#AE42C1

#AE42C1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.207 H 321.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AE42C1
RGBrgb(174, 66, 193)
HSLhsl(291, 51%, 51%)
HSVhsv(291, 66%, 76%)
CMYKcmyk(9.8%, 65.8%, 0%, 24.3%)
CIE-LABlab(47.94, 61.12, -46.24)
CIE-LCHlch(47.94, 76.63, 322.89°)
OKLaboklab(57.76% 0.1613 -0.129)
OKLCHoklch(57.76% 0.207 321.3)
XYZxyz(29.0283, 16.7468, 52.1452)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42C1 #55C142
analogous
#6E42C1 #AE42C1 #C14294
triadic
#AE42C1 #C1AE42 #42C1AE
tetradic
#AE42C1 #C16E42 #55C142 #4294C1
square
#AE42C1 #C16E42 #55C142 #4294C1
split-complementary
#AE42C1 #94C142 #42C16E
monochromatic
#5D2267 #863195 #AE42C1 #C270D0 #D59EDF

Accessibility & contrast

On white

4.83
#AE42C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AE42C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42C1#FFFFFF#000000##FFFFFF
##AE42C11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC5
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#B0577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae42c1;
/* rgb */ color: rgb(174, 66, 193);
/* oklch */ color: oklch(57.8% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#c97ed4',
    500: '#ae42c1',
    950: '#000000',
  },
}
SCSS
$custom: #ae42c1;
$custom-light: #c97ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42c1",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 291.024,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.20653,
    "h": 321.3
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#AE42C1
secondary
#9CCC93
accent
#DA4E63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AE42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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