#AE42AF#AE42AF

#AE42AF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.191 H 327.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE42AF
RGBrgb(174, 66, 175)
HSLhsl(299, 45%, 47%)
HSVhsv(299, 62%, 69%)
CMYKcmyk(0.6%, 62.3%, 0%, 31.4%)
CIE-LABlab(46.96, 57.86, -37.27)
CIE-LCHlch(46.96, 68.82, 327.21°)
OKLaboklab(56.74% 0.1608 -0.1029)
OKLCHoklch(56.74% 0.191 327.4)
XYZxyz(27.1412, 15.9920, 42.2063)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42AF #43AF42
analogous
#7842AF #AE42AF #AF4279
triadic
#AE42AF #AFAE42 #42AFAE
tetradic
#AE42AF #AF7842 #43AF42 #4279AF
square
#AE42AF #AF7842 #43AF42 #4279AF
split-complementary
#AE42AF #79AF42 #42AF78
monochromatic
#562056 #823183 #AE42AF #C568C6 #D695D7

Accessibility & contrast

On white

5.00
#AE42AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AE42AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42AF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42AF#FFFFFF#000000##FFFFFF
##AE42AF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#B35073
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae42af;
/* rgb */ color: rgb(174, 66, 175);
/* oklch */ color: oklch(56.7% 0.191 327.4);
Tailwind
colors: {
  custom: {
    50: '#c97ec7',
    500: '#ae42af',
    950: '#000000',
  },
}
SCSS
$custom: #ae42af;
$custom-light: #c97ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42af",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 299.45,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.19089,
    "h": 327.4
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#AE42AF
secondary
#8BC28A
accent
#D55354
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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