#AE42CF#AE42CF

#AE42CF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.219 H 317.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AE42CF
RGBrgb(174, 66, 207)
HSLhsl(286, 59%, 54%)
HSVhsv(286, 68%, 81%)
CMYKcmyk(15.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(48.76, 63.78, -53.00)
CIE-LCHlch(48.76, 82.93, 320.27°)
OKLaboklab(58.62% 0.1608 -0.1488)
OKLCHoklch(58.62% 0.219 317.2)
XYZxyz(30.6646, 17.4014, 60.7629)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42CF #63CF42
analogous
#6742CF #AE42CF #CF42AA
triadic
#AE42CF #CFAE42 #42CFAE
tetradic
#AE42CF #CF6742 #63CF42 #42AACF
square
#AE42CF #CF6742 #63CF42 #42AACF
split-complementary
#AE42CF #AACF42 #42CF67
monochromatic
#631F78 #8B2BA9 #AE42CF #C373DB #D8A4E8

Accessibility & contrast

On white

4.69
#AE42CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AE42CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42CF#FFFFFF#000000##FFFFFF
##AE42CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#AD5D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae42cf;
/* rgb */ color: rgb(174, 66, 207);
/* oklch */ color: oklch(58.6% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fde',
    500: '#ae42cf',
    950: '#000000',
  },
}
SCSS
$custom: #ae42cf;
$custom-light: #ca7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42cf",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 285.957,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.2191,
    "h": 317.2
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#AE42CF
secondary
#A6D598
accent
#E3456A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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