#AC87BC#AC87BC

#AC87BC is a light, moderate purple. Relative luminance 0.297; OKLCH L 67.7% C 0.087 H 315.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AC87BC
RGBrgb(172, 135, 188)
HSLhsl(282, 28%, 63%)
HSVhsv(282, 28%, 74%)
CMYKcmyk(8.5%, 28.2%, 0%, 26.3%)
CIE-LABlab(61.42, 23.83, -22.32)
CIE-LCHlch(61.42, 32.65, 316.87°)
OKLaboklab(67.68% 0.0618 -0.0608)
OKLCHoklch(67.68% 0.087 315.5)
XYZxyz(34.7529, 29.7300, 51.4749)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87BC #97BC87
analogous
#9187BC #AC87BC #BC87B1
triadic
#AC87BC #BCAC87 #87BCAC
tetradic
#AC87BC #BC9187 #97BC87 #87B1BC
square
#AC87BC #BC9187 #97BC87 #87B1BC
split-complementary
#AC87BC #B1BC87 #87BC91
monochromatic
#704881 #9160A6 #AC87BC #C7AED2 #E2D6E8

Accessibility & contrast

On white

3.02
#AC87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AC87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC87BC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87BC#FFFFFF#000000##000000
##AC87BC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BE
Deuteranopia (green-blind)
#8895BA
Tritanopia (blue-blind)
#AB8D9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac87bc;
/* rgb */ color: rgb(172, 135, 188);
/* oklch */ color: oklch(67.7% 0.087 315.5);
Tailwind
colors: {
  custom: {
    50: '#c5aad0',
    500: '#ac87bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac87bc;
$custom-light: #c5aad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87bc",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 281.887,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.08672,
    "h": 315.5
  },
  "luminance": 0.29729
}

Semantic roles & 50–950 ramp

primary
#AC87BC
secondary
#CCD9C6
accent
#A73F5E
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AC87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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