#AC87BB#AC87BB

#AC87BB is a light, moderate purple. Relative luminance 0.297; OKLCH L 67.6% C 0.086 H 316.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AC87BB
RGBrgb(172, 135, 187)
HSLhsl(283, 28%, 63%)
HSVhsv(283, 28%, 73%)
CMYKcmyk(8%, 27.8%, 0%, 26.7%)
CIE-LABlab(61.38, 23.62, -21.81)
CIE-LCHlch(61.38, 32.15, 317.28°)
OKLaboklab(67.64% 0.0615 -0.0594)
OKLCHoklch(67.64% 0.086 316)
XYZxyz(34.6455, 29.6871, 50.9091)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87BB #96BB87
analogous
#9287BB #AC87BB #BB87B0
triadic
#AC87BB #BBAC87 #87BBAC
tetradic
#AC87BB #BB9287 #96BB87 #87B0BB
square
#AC87BB #BB9287 #96BB87 #87B0BB
split-complementary
#AC87BB #B0BB87 #87BB92
monochromatic
#6F487F #9160A5 #AC87BB #C7AED1 #E2D5E7

Accessibility & contrast

On white

3.03
#AC87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AC87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC87BB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87BB#FFFFFF#000000##000000
##AC87BB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#8895B9
Tritanopia (blue-blind)
#AC8D99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac87bb;
/* rgb */ color: rgb(172, 135, 187);
/* oklch */ color: oklch(67.6% 0.086 316.0);
Tailwind
colors: {
  custom: {
    50: '#c5aacf',
    500: '#ac87bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac87bb;
$custom-light: #c5aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87bb",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 282.692,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67636,
    "c": 0.08552,
    "h": 316
  },
  "luminance": 0.29686
}

Semantic roles & 50–950 ramp

primary
#AC87BB
secondary
#CBD8C6
accent
#A63F5D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AC87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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