#AE42AE#AE42AE

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

Color values

HEX#AE42AE
RGBrgb(174, 66, 174)
HSLhsl(300, 45%, 47%)
HSVhsv(300, 62%, 68%)
CMYKcmyk(0%, 62.1%, 0%, 31.8%)
CIE-LABlab(46.91, 57.68, -36.76)
CIE-LCHlch(46.91, 68.40, 327.49°)
OKLaboklab(56.69% 0.1607 -0.1015)
OKLCHoklch(56.69% 0.19 327.7)
XYZxyz(27.0434, 15.9529, 41.6910)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42AE #42AE42
analogous
#7842AE #AE42AE #AE4278
triadic
#AE42AE #AEAE42 #42AEAE
tetradic
#AE42AE #AE7842 #42AE42 #4278AE
square
#AE42AE #AE7842 #42AE42 #4278AE
split-complementary
#AE42AE #78AE42 #42AE78
monochromatic
#552055 #823182 #AE42AE #C668C6 #D694D6

Accessibility & contrast

On white

5.01
#AE42AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AE42AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42AE#FFFFFF#000000##FFFFFF
##AE42AE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#B35072
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae42ae;
/* rgb */ color: rgb(174, 66, 174);
/* oklch */ color: oklch(56.7% 0.190 327.7);
Tailwind
colors: {
  custom: {
    50: '#c97ec6',
    500: '#ae42ae',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ae;
$custom-light: #c97ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ae",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 300,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.19004,
    "h": 327.7
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#AE42AE
secondary
#8AC28A
accent
#D55353
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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