#AE42CA#AE42CA

#AE42CA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.215 H 318.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AE42CA
RGBrgb(174, 66, 202)
HSLhsl(288, 56%, 53%)
HSVhsv(288, 67%, 79%)
CMYKcmyk(13.9%, 67.3%, 0%, 20.8%)
CIE-LABlab(48.46, 62.82, -50.61)
CIE-LCHlch(48.46, 80.67, 321.14°)
OKLaboklab(58.3% 0.1611 -0.1418)
OKLCHoklch(58.3% 0.215 318.6)
XYZxyz(30.0630, 17.1607, 57.5945)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42CA #5ECA42
analogous
#6A42CA #AE42CA #CA42A2
triadic
#AE42CA #CAAE42 #42CAAE
tetradic
#AE42CA #CA6A42 #5ECA42 #42A2CA
square
#AE42CA #CA6A42 #5ECA42 #42A2CA
split-complementary
#AE42CA #A2CA42 #42CA6A
monochromatic
#612072 #8A2DA2 #AE42CA #C272D7 #D7A2E5

Accessibility & contrast

On white

4.74
#AE42CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AE42CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42CA#FFFFFF#000000##FFFFFF
##AE42CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AE5B81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae42ca;
/* rgb */ color: rgb(174, 66, 202);
/* oklch */ color: oklch(58.3% 0.215 318.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fdb',
    500: '#ae42ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ca;
$custom-light: #ca7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ca",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 287.647,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.21458,
    "h": 318.6
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#AE42CA
secondary
#A3D196
accent
#DF4867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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