#AE42BC#AE42BC

#AE42BC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.202 H 322.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AE42BC
RGBrgb(174, 66, 188)
HSLhsl(293, 48%, 50%)
HSVhsv(293, 65%, 74%)
CMYKcmyk(7.4%, 64.9%, 0%, 26.3%)
CIE-LABlab(47.66, 60.19, -43.78)
CIE-LCHlch(47.66, 74.43, 323.97°)
OKLaboklab(57.47% 0.1613 -0.1218)
OKLCHoklch(57.47% 0.202 322.9)
XYZxyz(28.4800, 16.5275, 49.2572)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42BC #50BC42
analogous
#7142BC #AE42BC #BC428D
triadic
#AE42BC #BCAE42 #42BCAE
tetradic
#AE42BC #BC7142 #50BC42 #428DBC
square
#AE42BC #BC7142 #50BC42 #428DBC
split-complementary
#AE42BC #8DBC42 #42BC71
monochromatic
#5A2261 #84328F #AE42BC #C26FCC #D59CDC

Accessibility & contrast

On white

4.88
#AE42BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AE42BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42BC#FFFFFF#000000##FFFFFF
##AE42BC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#B15579
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae42bc;
/* rgb */ color: rgb(174, 66, 188);
/* oklch */ color: oklch(57.5% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#c97ed1',
    500: '#ae42bc',
    950: '#000000',
  },
}
SCSS
$custom: #ae42bc;
$custom-light: #c97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42bc",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 293.115,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.20212,
    "h": 322.9
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#AE42BC
secondary
#98C991
accent
#D85060
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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