#AE42D4#AE42D4

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

Color values

HEX#AE42D4
RGBrgb(174, 66, 212)
HSLhsl(284, 63%, 55%)
HSVhsv(284, 69%, 83%)
CMYKcmyk(17.9%, 68.9%, 0%, 16.9%)
CIE-LABlab(49.07, 64.76, -55.38)
CIE-LCHlch(49.07, 85.21, 319.47°)
OKLaboklab(58.93% 0.1605 -0.1557)
OKLCHoklch(58.93% 0.224 315.9)
XYZxyz(31.2856, 17.6497, 64.0333)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42D4 #68D442
analogous
#6542D4 #AE42D4 #D442B1
triadic
#AE42D4 #D4AE42 #42D4AE
tetradic
#AE42D4 #D46542 #68D442 #42B1D4
square
#AE42D4 #D46542 #68D442 #42B1D4
split-complementary
#AE42D4 #B1D442 #42D465
monochromatic
#651D7F #8D28B1 #AE42D4 #C374DF #D9A6EB

Accessibility & contrast

On white

4.64
#AE42D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AE42D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42D4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42D4#FFFFFF#000000##FFFFFF
##AE42D41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#AB5F86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae42d4;
/* rgb */ color: rgb(174, 66, 212);
/* oklch */ color: oklch(58.9% 0.224 315.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fe2',
    500: '#ae42d4',
    950: '#000000',
  },
}
SCSS
$custom: #ae42d4;
$custom-light: #ca7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42d4",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 284.384,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.22364,
    "h": 315.9
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#AE42D4
secondary
#AAD89A
accent
#E6426D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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