#AC48C2#AC48C2

#AC48C2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.198 H 320.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC48C2
RGBrgb(172, 72, 194)
HSLhsl(289, 50%, 52%)
HSVhsv(289, 63%, 76%)
CMYKcmyk(11.3%, 62.9%, 0%, 23.9%)
CIE-LABlab(48.64, 58.25, -45.72)
CIE-LCHlch(48.64, 74.05, 321.87°)
OKLaboklab(58.23% 0.152 -0.1276)
OKLCHoklch(58.23% 0.198 320)
XYZxyz(29.0670, 17.3018, 52.8370)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48C2 #5EC248
analogous
#6F48C2 #AC48C2 #C2489B
triadic
#AC48C2 #C2AC48 #48C2AC
tetradic
#AC48C2 #C26F48 #5EC248 #489BC2
square
#AC48C2 #C26F48 #5EC248 #489BC2
split-complementary
#AC48C2 #9BC248 #48C26F
monochromatic
#5F246C #87339A #AC48C2 #C176D1 #D6A4E1

Accessibility & contrast

On white

4.71
#AC48C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AC48C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC48C2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48C2#FFFFFF#000000##FFFFFF
##AC48C21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#AD5C7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac48c2;
/* rgb */ color: rgb(172, 72, 194);
/* oklch */ color: oklch(58.2% 0.198 320.0);
Tailwind
colors: {
  custom: {
    50: '#c881d5',
    500: '#ac48c2',
    950: '#000000',
  },
}
SCSS
$custom: #ac48c2;
$custom-light: #c881d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48c2",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 289.18,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.19847,
    "h": 320
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#AC48C2
secondary
#A2CE98
accent
#DA4E67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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