#AC42D0#AC42D0

#AC42D0 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.219 H 316.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AC42D0
RGBrgb(172, 66, 208)
HSLhsl(285, 60%, 54%)
HSVhsv(285, 68%, 82%)
CMYKcmyk(17.3%, 68.3%, 0%, 18.4%)
CIE-LABlab(48.54, 63.55, -53.95)
CIE-LCHlch(48.54, 83.36, 319.67°)
OKLaboklab(58.42% 0.1584 -0.1516)
OKLCHoklch(58.42% 0.219 316.2)
XYZxyz(30.3449, 17.2223, 61.3881)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42D0 #66D042
analogous
#6542D0 #AC42D0 #D042AD
triadic
#AC42D0 #D0AC42 #42D0AC
tetradic
#AC42D0 #D06542 #66D042 #42ADD0
square
#AC42D0 #D06542 #66D042 #42ADD0
split-complementary
#AC42D0 #ADD042 #42D065
monochromatic
#621E79 #8A2AAA #AC42D0 #C273DC #D7A4E8

Accessibility & contrast

On white

4.73
#AC42D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AC42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42D0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42D0#FFFFFF#000000##FFFFFF
##AC42D01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#4276CD
Tritanopia (blue-blind)
#AA5E84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac42d0;
/* rgb */ color: rgb(172, 66, 208);
/* oklch */ color: oklch(58.4% 0.219 316.2);
Tailwind
colors: {
  custom: {
    50: '#c97fdf',
    500: '#ac42d0',
    950: '#000000',
  },
}
SCSS
$custom: #ac42d0;
$custom-light: #c97fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42d0",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 284.789,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.21924,
    "h": 316.2
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#AC42D0
secondary
#A8D599
accent
#E3446D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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