#AE42CE#AE42CE

#AE42CE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.218 H 317.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AE42CE
RGBrgb(174, 66, 206)
HSLhsl(286, 59%, 53%)
HSVhsv(286, 68%, 81%)
CMYKcmyk(15.5%, 68%, 0%, 19.2%)
CIE-LABlab(48.70, 63.59, -52.52)
CIE-LCHlch(48.70, 82.48, 320.44°)
OKLaboklab(58.55% 0.1609 -0.1474)
OKLCHoklch(58.55% 0.218 317.5)
XYZxyz(30.5428, 17.3526, 60.1211)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42CE #62CE42
analogous
#6842CE #AE42CE #CE42A8
triadic
#AE42CE #CEAE42 #42CEAE
tetradic
#AE42CE #CE6842 #62CE42 #42A8CE
square
#AE42CE #CE6842 #62CE42 #42A8CE
split-complementary
#AE42CE #A8CE42 #42CE68
monochromatic
#631F77 #8B2BA7 #AE42CE #C373DB #D8A3E7

Accessibility & contrast

On white

4.70
#AE42CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AE42CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42CE#FFFFFF#000000##FFFFFF
##AE42CE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#AD5D83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ae42ce;
/* rgb */ color: rgb(174, 66, 206);
/* oklch */ color: oklch(58.6% 0.218 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fde',
    500: '#ae42ce',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ce;
$custom-light: #ca7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ce",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 286.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.21819,
    "h": 317.5
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#AE42CE
secondary
#A6D498
accent
#E24669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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