#A87FAC#A87FAC

#A87FAC is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.1% C 0.081 H 323.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A87FAC
RGBrgb(168, 127, 172)
HSLhsl(295, 21%, 59%)
HSVhsv(295, 26%, 67%)
CMYKcmyk(2.3%, 26.2%, 0%, 32.5%)
CIE-LABlab(58.49, 23.76, -17.72)
CIE-LCHlch(58.49, 29.64, 323.29°)
OKLaboklab(65.15% 0.0647 -0.0479)
OKLCHoklch(65.15% 0.081 323.5)
XYZxyz(31.1833, 26.4829, 42.4908)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FAC #83AC7F
analogous
#917FAC #A87FAC #AC7F99
triadic
#A87FAC #ACA87F #7FACA8
tetradic
#A87FAC #AC917F #83AC7F #7F99AC
square
#A87FAC #AC917F #83AC7F #7F99AC
split-complementary
#A87FAC #99AC7F #7FAC91
monochromatic
#68456B #8C5E90 #A87FAC #C1A4C4 #DAC9DC

Accessibility & contrast

On white

3.34
#A87FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A87FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FAC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FAC#FFFFFF#000000##000000
##A87FAC1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AAE
Deuteranopia (green-blind)
#848EAA
Tritanopia (blue-blind)
#AA838F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87fac;
/* rgb */ color: rgb(168, 127, 172);
/* oklch */ color: oklch(65.1% 0.081 323.5);
Tailwind
colors: {
  custom: {
    50: '#c2a4c4',
    500: '#a87fac',
    950: '#000000',
  },
}
SCSS
$custom: #a87fac;
$custom-light: #c2a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fac",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 294.667,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.0805,
    "h": 323.5
  },
  "luminance": 0.26482
}

Semantic roles & 50–950 ramp

primary
#A87FAC
secondary
#BCCCBB
accent
#BE6A71
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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