#AE42C5#AE42C5

#AE42C5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.210 H 320.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AE42C5
RGBrgb(174, 66, 197)
HSLhsl(289, 53%, 52%)
HSVhsv(289, 66%, 77%)
CMYKcmyk(11.7%, 66.5%, 0%, 22.7%)
CIE-LABlab(48.17, 61.87, -48.19)
CIE-LCHlch(48.17, 78.42, 322.09°)
OKLaboklab(58% 0.1612 -0.1347)
OKLCHoklch(58% 0.21 320.1)
XYZxyz(29.4806, 16.9277, 54.5270)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42C5 #59C542
analogous
#6D42C5 #AE42C5 #C5429A
triadic
#AE42C5 #C5AE42 #42C5AE
tetradic
#AE42C5 #C56D42 #59C542 #429AC5
square
#AE42C5 #C56D42 #59C542 #429AC5
split-complementary
#AE42C5 #9AC542 #42C56D
monochromatic
#5E216C #882F9A #AE42C5 #C271D3 #D6A0E2

Accessibility & contrast

On white

4.79
#AE42C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AE42C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42C5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42C5#FFFFFF#000000##FFFFFF
##AE42C51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#AF597E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae42c5;
/* rgb */ color: rgb(174, 66, 197);
/* oklch */ color: oklch(58.0% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ed7',
    500: '#ae42c5',
    950: '#000000',
  },
}
SCSS
$custom: #ae42c5;
$custom-light: #ca7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42c5",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 289.466,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58,
    "c": 0.2101,
    "h": 320.1
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#AE42C5
secondary
#9FCE95
accent
#DC4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AE42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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