#AC41DC#AC41DC

#AC41DC is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.231 H 313.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AC41DC
RGBrgb(172, 65, 220)
HSLhsl(281, 69%, 56%)
HSVhsv(281, 70%, 86%)
CMYKcmyk(21.8%, 70.5%, 0%, 13.7%)
CIE-LABlab(49.15, 66.34, -59.82)
CIE-LCHlch(49.15, 89.33, 317.96°)
OKLaboklab(59.1% 0.1583 -0.1688)
OKLCHoklch(59.1% 0.231 313.2)
XYZxyz(31.8195, 17.7195, 69.4403)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC41DC #71DC41
analogous
#5E41DC #AC41DC #DC41BF
triadic
#AC41DC #DCAC41 #41DCAC
tetradic
#AC41DC #DC5E41 #71DC41 #41BFDC
square
#AC41DC #DC5E41 #71DC41 #41BFDC
split-complementary
#AC41DC #BFDC41 #41DC5E
monochromatic
#671989 #8D23BD #AC41DC #C375E6 #D9A8EF

Accessibility & contrast

On white

4.62
#AC41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AC41DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC41DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC41DC#FFFFFF#000000##FFFFFF
##AC41DC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#A7628A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac41dc;
/* rgb */ color: rgb(172, 65, 220);
/* oklch */ color: oklch(59.1% 0.231 313.2);
Tailwind
colors: {
  custom: {
    50: '#c97fe8',
    500: '#ac41dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac41dc;
$custom-light: #c97fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac41dc",
  "rgb": {
    "r": 172,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 281.419,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.23143,
    "h": 313.2
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#AC41DC
secondary
#B0DD9C
accent
#EC3C72
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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