#AC48BB#AC48BB

#AC48BB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.192 H 322.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AC48BB
RGBrgb(172, 72, 187)
HSLhsl(292, 46%, 51%)
HSVhsv(292, 61%, 73%)
CMYKcmyk(8%, 61.5%, 0%, 26.7%)
CIE-LABlab(48.25, 56.92, -42.27)
CIE-LCHlch(48.25, 70.90, 323.40°)
OKLaboklab(57.82% 0.1518 -0.1175)
OKLCHoklch(57.82% 0.192 322.3)
XYZxyz(28.2993, 16.9947, 48.7938)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48BB #57BB48
analogous
#7248BB #AC48BB #BB4890
triadic
#AC48BB #BBAC48 #48BBAC
tetradic
#AC48BB #BB7248 #57BB48 #4890BB
square
#AC48BB #BB7248 #57BB48 #4890BB
split-complementary
#AC48BB #90BB48 #48BB72
monochromatic
#5B2564 #843690 #AC48BB #C075CC #D4A1DC

Accessibility & contrast

On white

4.77
#AC48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AC48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC48BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48BB#FFFFFF#000000##FFFFFF
##AC48BB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#AE5A7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac48bb;
/* rgb */ color: rgb(172, 72, 187);
/* oklch */ color: oklch(57.8% 0.192 322.3);
Tailwind
colors: {
  custom: {
    50: '#c881d0',
    500: '#ac48bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac48bb;
$custom-light: #c881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48bb",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 292.174,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.19202,
    "h": 322.3
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#AC48BB
secondary
#9DC996
accent
#D55263
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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