#AC46DC#AC46DC

#AC46DC is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.225 H 312.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AC46DC
RGBrgb(172, 70, 220)
HSLhsl(281, 68%, 57%)
HSVhsv(281, 68%, 86%)
CMYKcmyk(21.8%, 68.2%, 0%, 13.7%)
CIE-LABlab(49.88, 64.30, -58.65)
CIE-LCHlch(49.88, 87.03, 317.63°)
OKLaboklab(59.62% 0.1532 -0.1654)
OKLCHoklch(59.62% 0.225 312.8)
XYZxyz(32.1194, 18.3192, 69.5403)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46DC #76DC46
analogous
#6146DC #AC46DC #DC46C1
triadic
#AC46DC #DCAC46 #46DCAC
tetradic
#AC46DC #DC6146 #76DC46 #46C1DC
square
#AC46DC #DC6146 #76DC46 #46C1DC
split-complementary
#AC46DC #C1DC46 #46DC61
monochromatic
#681B8D #8E24C0 #AC46DC #C379E6 #DAADEF

Accessibility & contrast

On white

4.50
#AC46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AC46DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46DC#FFFFFF#000000##000000
##AC46DC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#A7658C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac46dc;
/* rgb */ color: rgb(172, 70, 220);
/* oklch */ color: oklch(59.6% 0.225 312.8);
Tailwind
colors: {
  custom: {
    50: '#c981e8',
    500: '#ac46dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac46dc;
$custom-light: #c981e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46dc",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 280.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.22548,
    "h": 312.8
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#AC46DC
secondary
#B4DDA0
accent
#EB3D75
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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