#AC87CB#AC87CB

#AC87CB is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.3% C 0.105 H 308.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AC87CB
RGBrgb(172, 135, 203)
HSLhsl(273, 40%, 66%)
HSVhsv(273, 33%, 80%)
CMYKcmyk(15.3%, 33.5%, 0%, 20.4%)
CIE-LABlab(62.01, 27.04, -29.87)
CIE-LCHlch(62.01, 40.29, 312.15°)
OKLaboklab(68.32% 0.0659 -0.0822)
OKLCHoklch(68.32% 0.105 308.7)
XYZxyz(36.4547, 30.4108, 60.4377)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87CB #A6CB87
analogous
#8A87CB #AC87CB #CB87C8
triadic
#AC87CB #CBAC87 #87CBAC
tetradic
#AC87CB #CB8A87 #A6CB87 #87C8CB
square
#AC87CB #CB8A87 #A6CB87 #87C8CB
split-complementary
#AC87CB #C8CB87 #87CB8A
monochromatic
#704196 #8E5CB8 #AC87CB #CAB2DE #E7DCF0

Accessibility & contrast

On white

2.97
#AC87CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AC87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87CB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87CB#FFFFFF#000000##000000
##AC87CB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#A891A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac87cb;
/* rgb */ color: rgb(172, 135, 203);
/* oklch */ color: oklch(68.3% 0.105 308.7);
Tailwind
colors: {
  custom: {
    50: '#c5aadb',
    500: '#ac87cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac87cb;
$custom-light: #c5aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87cb",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 272.647,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.10536,
    "h": 308.7
  },
  "luminance": 0.3041
}

Semantic roles & 50–950 ramp

primary
#AC87CB
secondary
#D6E2CC
accent
#B3336D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AC87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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