#AE42BB#AE42BB

#AE42BB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.4% C 0.201 H 323.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AE42BB
RGBrgb(174, 66, 187)
HSLhsl(294, 48%, 50%)
HSVhsv(294, 65%, 73%)
CMYKcmyk(7%, 64.7%, 0%, 26.7%)
CIE-LABlab(47.60, 60.01, -43.28)
CIE-LCHlch(47.60, 73.99, 324.20°)
OKLaboklab(57.41% 0.1613 -0.1204)
OKLCHoklch(57.41% 0.201 323.3)
XYZxyz(28.3726, 16.4845, 48.6914)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42BB #4FBB42
analogous
#7242BB #AE42BB #BB428B
triadic
#AE42BB #BBAE42 #42BBAE
tetradic
#AE42BB #BB7242 #4FBB42 #428BBB
square
#AE42BB #BB7242 #4FBB42 #428BBB
split-complementary
#AE42BB #8BBB42 #42BB72
monochromatic
#5A2261 #84328E #AE42BB #C26ECC #D59CDC

Accessibility & contrast

On white

4.89
#AE42BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AE42BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42BB#FFFFFF#000000##FFFFFF
##AE42BB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#B15579
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae42bb;
/* rgb */ color: rgb(174, 66, 187);
/* oklch */ color: oklch(57.4% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#c97ed0',
    500: '#ae42bb',
    950: '#000000',
  },
}
SCSS
$custom: #ae42bb;
$custom-light: #c97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42bb",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 293.554,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.20124,
    "h": 323.3
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#AE42BB
secondary
#97C891
accent
#D7505F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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