#AE42DF#AE42DF

#AE42DF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.234 H 313.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AE42DF
RGBrgb(174, 66, 223)
HSLhsl(281, 71%, 57%)
HSVhsv(281, 70%, 87%)
CMYKcmyk(22%, 70.4%, 0%, 12.5%)
CIE-LABlab(49.77, 66.95, -60.52)
CIE-LCHlch(49.77, 90.25, 317.89°)
OKLaboklab(59.65% 0.1595 -0.1708)
OKLCHoklch(59.65% 0.234 313)
XYZxyz(32.7207, 18.2238, 71.5916)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42DF #73DF42
analogous
#6042DF #AE42DF #DF42C2
triadic
#AE42DF #DFAE42 #42DFAE
tetradic
#AE42DF #DF6042 #73DF42 #42C2DF
square
#AE42DF #DF6042 #73DF42 #42C2DF
split-complementary
#AE42DF #C2DF42 #42DF60
monochromatic
#6A188E #9021C3 #AE42DF #C476E8 #DBABF1

Accessibility & contrast

On white

4.52
#AE42DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AE42DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42DF#FFFFFF#000000##000000
##AE42DF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#A9648C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae42df;
/* rgb */ color: rgb(174, 66, 223);
/* oklch */ color: oklch(59.7% 0.234 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb7fea',
    500: '#ae42df',
    950: '#000000',
  },
}
SCSS
$custom: #ae42df;
$custom-light: #cb7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42df",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 281.274,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.23369,
    "h": 313
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#AE42DF
secondary
#B2DF9E
accent
#EE3A72
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AE42DF

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

Preview Lab → · Contrast checker → · Palette generator →

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