#AE42D3#AE42D3

#AE42D3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.223 H 316.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AE42D3
RGBrgb(174, 66, 211)
HSLhsl(285, 62%, 54%)
HSVhsv(285, 69%, 83%)
CMYKcmyk(17.5%, 68.7%, 0%, 17.3%)
CIE-LABlab(49.01, 64.56, -54.90)
CIE-LCHlch(49.01, 84.75, 319.62°)
OKLaboklab(58.87% 0.1606 -0.1543)
OKLCHoklch(58.87% 0.223 316.1)
XYZxyz(31.1598, 17.5994, 63.3710)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42D3 #67D342
analogous
#6642D3 #AE42D3 #D342AF
triadic
#AE42D3 #D3AE42 #42D3AE
tetradic
#AE42D3 #D36642 #67D342 #42AFD3
square
#AE42D3 #D36642 #67D342 #42AFD3
split-complementary
#AE42D3 #AFD342 #42D366
monochromatic
#651D7D #8D29AF #AE42D3 #C374DF #D9A5EA

Accessibility & contrast

On white

4.65
#AE42D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AE42D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42D3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42D3#FFFFFF#000000##FFFFFF
##AE42D31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#4277D0
Tritanopia (blue-blind)
#AC5F86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae42d3;
/* rgb */ color: rgb(174, 66, 211);
/* oklch */ color: oklch(58.9% 0.223 316.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fe1',
    500: '#ae42d3',
    950: '#000000',
  },
}
SCSS
$custom: #ae42d3;
$custom-light: #ca7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42d3",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 284.69,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.22273,
    "h": 316.1
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#AE42D3
secondary
#A9D79A
accent
#E5426C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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