#AE42CD#AE42CD

#AE42CD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.217 H 317.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AE42CD
RGBrgb(174, 66, 205)
HSLhsl(287, 58%, 53%)
HSVhsv(287, 68%, 80%)
CMYKcmyk(15.1%, 67.8%, 0%, 19.6%)
CIE-LABlab(48.64, 63.39, -52.05)
CIE-LCHlch(48.64, 82.02, 320.61°)
OKLaboklab(58.49% 0.1609 -0.146)
OKLCHoklch(58.49% 0.217 317.8)
XYZxyz(30.4217, 17.3042, 59.4833)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42CD #61CD42
analogous
#6842CD #AE42CD #CD42A6
triadic
#AE42CD #CDAE42 #42CDAE
tetradic
#AE42CD #CD6842 #61CD42 #42A6CD
square
#AE42CD #CD6842 #61CD42 #42A6CD
split-complementary
#AE42CD #A6CD42 #42CD68
monochromatic
#621F76 #8B2CA6 #AE42CD #C372DA #D7A3E7

Accessibility & contrast

On white

4.71
#AE42CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AE42CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42CD#FFFFFF#000000##FFFFFF
##AE42CD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#AD5C83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae42cd;
/* rgb */ color: rgb(174, 66, 205);
/* oklch */ color: oklch(58.5% 0.217 317.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fdd',
    500: '#ae42cd',
    950: '#000000',
  },
}
SCSS
$custom: #ae42cd;
$custom-light: #ca7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42cd",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 286.619,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58491,
    "c": 0.21728,
    "h": 317.8
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#AE42CD
secondary
#A5D397
accent
#E14669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AE42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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