#AC48DC#AC48DC

#AC48DC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.223 H 312.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC48DC
RGBrgb(172, 72, 220)
HSLhsl(281, 68%, 57%)
HSVhsv(281, 67%, 86%)
CMYKcmyk(21.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(50.18, 63.45, -58.16)
CIE-LCHlch(50.18, 86.07, 317.49°)
OKLaboklab(59.84% 0.1511 -0.164)
OKLCHoklch(59.84% 0.223 312.7)
XYZxyz(32.2466, 18.5736, 69.5827)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48DC #78DC48
analogous
#6248DC #AC48DC #DC48C2
triadic
#AC48DC #DCAC48 #48DCAC
tetradic
#AC48DC #DC6248 #78DC48 #48C2DC
square
#AC48DC #DC6248 #78DC48 #48C2DC
split-complementary
#AC48DC #C2DC48 #48DC62
monochromatic
#691B8E #8F25C2 #AC48DC #C37BE6 #DBAFF0

Accessibility & contrast

On white

4.45
#AC48DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AC48DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48DC#FFFFFF#000000##000000
##AC48DC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#A7668C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac48dc;
/* rgb */ color: rgb(172, 72, 220);
/* oklch */ color: oklch(59.8% 0.223 312.7);
Tailwind
colors: {
  custom: {
    50: '#c982e8',
    500: '#ac48dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac48dc;
$custom-light: #c982e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48dc",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 280.541,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.223,
    "h": 312.7
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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