#AC87BF#AC87BF

#AC87BF is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.8% C 0.090 H 313.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AC87BF
RGBrgb(172, 135, 191)
HSLhsl(280, 30%, 64%)
HSVhsv(280, 29%, 75%)
CMYKcmyk(9.9%, 29.3%, 0%, 25.1%)
CIE-LABlab(61.53, 24.46, -23.84)
CIE-LCHlch(61.53, 34.15, 315.73°)
OKLaboklab(67.8% 0.0627 -0.0651)
OKLCHoklch(67.8% 0.09 313.9)
XYZxyz(35.0797, 29.8607, 53.1958)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87BF #9ABF87
analogous
#9087BF #AC87BF #BF87B6
triadic
#AC87BF #BFAC87 #87BFAC
tetradic
#AC87BF #BF9087 #9ABF87 #87B6BF
square
#AC87BF #BF9087 #9ABF87 #87B6BF
split-complementary
#AC87BF #B6BF87 #87BF90
monochromatic
#704785 #905FAA #AC87BF #C8AFD4 #E3D7EA

Accessibility & contrast

On white

3.01
#AC87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AC87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC87BF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87BF#FFFFFF#000000##000000
##AC87BF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92C1
Deuteranopia (green-blind)
#8796BD
Tritanopia (blue-blind)
#AB8E9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac87bf;
/* rgb */ color: rgb(172, 135, 191);
/* oklch */ color: oklch(67.8% 0.090 313.9);
Tailwind
colors: {
  custom: {
    50: '#c5aad2',
    500: '#ac87bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac87bf;
$custom-light: #c5aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87bf",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 279.643,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.09038,
    "h": 313.9
  },
  "luminance": 0.2986
}

Semantic roles & 50–950 ramp

primary
#AC87BF
secondary
#CEDBC7
accent
#A93C61
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AC87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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