#AE42C0#AE42C0

#AE42C0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.206 H 321.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AE42C0
RGBrgb(174, 66, 192)
HSLhsl(291, 50%, 51%)
HSVhsv(291, 66%, 75%)
CMYKcmyk(9.4%, 65.6%, 0%, 24.7%)
CIE-LABlab(47.88, 60.93, -45.75)
CIE-LCHlch(47.88, 76.19, 323.10°)
OKLaboklab(57.7% 0.1613 -0.1276)
OKLCHoklch(57.7% 0.206 321.7)
XYZxyz(28.9172, 16.7024, 51.5597)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42C0 #54C042
analogous
#6F42C0 #AE42C0 #C04293
triadic
#AE42C0 #C0AE42 #42C0AE
tetradic
#AE42C0 #C06F42 #54C042 #4293C0
square
#AE42C0 #C06F42 #54C042 #4293C0
split-complementary
#AE42C0 #93C042 #42C06F
monochromatic
#5C2266 #863194 #AE42C0 #C270CF #D59EDF

Accessibility & contrast

On white

4.84
#AE42C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AE42C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42C0#FFFFFF#000000##FFFFFF
##AE42C01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC4
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#B0577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae42c0;
/* rgb */ color: rgb(174, 66, 192);
/* oklch */ color: oklch(57.7% 0.206 321.7);
Tailwind
colors: {
  custom: {
    50: '#c97ed3',
    500: '#ae42c0',
    950: '#000000',
  },
}
SCSS
$custom: #ae42c0;
$custom-light: #c97ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42c0",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 291.429,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.20564,
    "h": 321.7
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#AE42C0
secondary
#9BCB93
accent
#DA4E62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AE42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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