#AE42B6#AE42B6

#AE42B6 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.197 H 324.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AE42B6
RGBrgb(174, 66, 182)
HSLhsl(296, 47%, 49%)
HSVhsv(296, 64%, 71%)
CMYKcmyk(4.4%, 63.7%, 0%, 28.6%)
CIE-LABlab(47.33, 59.10, -40.79)
CIE-LCHlch(47.33, 71.81, 325.39°)
OKLaboklab(57.13% 0.1611 -0.1132)
OKLCHoklch(57.13% 0.197 324.9)
XYZxyz(27.8466, 16.2742, 45.9214)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42B6 #4AB642
analogous
#7442B6 #AE42B6 #B64284
triadic
#AE42B6 #B6AE42 #42B6AE
tetradic
#AE42B6 #B67442 #4AB642 #4284B6
square
#AE42B6 #B67442 #4AB642 #4284B6
split-complementary
#AE42B6 #84B642 #42B674
monochromatic
#58215C #833289 #AE42B6 #C36CCA #D599DA

Accessibility & contrast

On white

4.94
#AE42B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AE42B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42B6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42B6#FFFFFF#000000##FFFFFF
##AE42B61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68B9
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#B25376
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae42b6;
/* rgb */ color: rgb(174, 66, 182);
/* oklch */ color: oklch(57.1% 0.197 324.9);
Tailwind
colors: {
  custom: {
    50: '#c97ecc',
    500: '#ae42b6',
    950: '#000000',
  },
}
SCSS
$custom: #ae42b6;
$custom-light: #c97ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42b6",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 295.862,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.19689,
    "h": 324.9
  },
  "luminance": 0.16272
}

Semantic roles & 50–950 ramp

primary
#AE42B6
secondary
#92C68E
accent
#D6515B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE42B6

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

Preview Lab → · Contrast checker → · Palette generator →

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