#AC48AF#AC48AF

#AC48AF is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.181 H 326.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC48AF
RGBrgb(172, 72, 175)
HSLhsl(298, 42%, 48%)
HSVhsv(298, 59%, 69%)
CMYKcmyk(1.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(47.63, 54.71, -36.24)
CIE-LCHlch(47.63, 65.62, 326.48°)
OKLaboklab(57.16% 0.1511 -0.1001)
OKLCHoklch(57.16% 0.181 326.5)
XYZxyz(27.0680, 16.5022, 42.3086)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48AF #4BAF48
analogous
#7848AF #AC48AF #AF487E
triadic
#AC48AF #AFAC48 #48AFAC
tetradic
#AC48AF #AF7848 #4BAF48 #487EAF
square
#AC48AF #AF7848 #4BAF48 #487EAF
split-complementary
#AC48AF #7EAF48 #48AF78
monochromatic
#572458 #813684 #AC48AF #C270C4 #D49BD6

Accessibility & contrast

On white

4.88
#AC48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AC48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC48AF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48AF#FFFFFF#000000##FFFFFF
##AC48AF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#B05575
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac48af;
/* rgb */ color: rgb(172, 72, 175);
/* oklch */ color: oklch(57.2% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#c781c7',
    500: '#ac48af',
    950: '#000000',
  },
}
SCSS
$custom: #ac48af;
$custom-light: #c781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48af",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 298.252,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.1812,
    "h": 326.5
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#AC48AF
secondary
#92C290
accent
#D2565A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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