#AE42BF#AE42BF

#AE42BF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.6% C 0.205 H 322.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AE42BF
RGBrgb(174, 66, 191)
HSLhsl(292, 49%, 50%)
HSVhsv(292, 65%, 75%)
CMYKcmyk(8.9%, 65.4%, 0%, 25.1%)
CIE-LABlab(47.83, 60.74, -45.25)
CIE-LCHlch(47.83, 75.75, 323.31°)
OKLaboklab(57.64% 0.1613 -0.1261)
OKLCHoklch(57.64% 0.205 322)
XYZxyz(28.8067, 16.6582, 50.9781)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42BF #53BF42
analogous
#6F42BF #AE42BF #BF4291
triadic
#AE42BF #BFAE42 #42BFAE
tetradic
#AE42BF #BF6F42 #53BF42 #4291BF
square
#AE42BF #BF6F42 #53BF42 #4291BF
split-complementary
#AE42BF #91BF42 #42BF6F
monochromatic
#5C2265 #853292 #AE42BF #C270CE #D59DDE

Accessibility & contrast

On white

4.85
#AE42BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AE42BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42BF#FFFFFF#000000##FFFFFF
##AE42BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#B0577B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae42bf;
/* rgb */ color: rgb(174, 66, 191);
/* oklch */ color: oklch(57.6% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#c97ed3',
    500: '#ae42bf',
    950: '#000000',
  },
}
SCSS
$custom: #ae42bf;
$custom-light: #c97ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42bf",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 291.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.20477,
    "h": 322
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#AE42BF
secondary
#9ACA93
accent
#D94F62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AE42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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