#AC71BC#AC71BC

#AC71BC is a light, vivid purple. Relative luminance 0.242; OKLCH L 63.8% C 0.126 H 318.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC71BC
RGBrgb(172, 113, 188)
HSLhsl(287, 36%, 59%)
HSVhsv(287, 40%, 74%)
CMYKcmyk(8.5%, 39.9%, 0%, 26.3%)
CIE-LABlab(56.30, 36.18, -30.21)
CIE-LCHlch(56.30, 47.13, 320.13°)
OKLaboklab(63.79% 0.0952 -0.0831)
OKLCHoklch(63.79% 0.126 318.9)
XYZxyz(31.9943, 24.2127, 50.5554)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71BC #81BC71
analogous
#8771BC #AC71BC #BC71A7
triadic
#AC71BC #BCAC71 #71BCAC
tetradic
#AC71BC #BC8771 #81BC71 #71A7BC
square
#AC71BC #BC8771 #81BC71 #71A7BC
split-complementary
#AC71BC #A7BC71 #71BC87
monochromatic
#6C3979 #914DA3 #AC71BC #C49BD0 #DDC4E3

Accessibility & contrast

On white

3.59
#AC71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AC71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71BC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71BC#FFFFFF#000000##000000
##AC71BC1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#AD7A8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac71bc;
/* rgb */ color: rgb(172, 113, 188);
/* oklch */ color: oklch(63.8% 0.126 318.9);
Tailwind
colors: {
  custom: {
    50: '#c69bd0',
    500: '#ac71bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac71bc;
$custom-light: #c69bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71bc",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 287.2,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.12631,
    "h": 318.9
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

primary
#AC71BC
secondary
#BCD3B6
accent
#CC5C74
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AC71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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