#A87FAF#A87FAF

#A87FAF is a light, moderate purple. Relative luminance 0.266; OKLCH L 65.3% C 0.084 H 321.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A87FAF
RGBrgb(168, 127, 175)
HSLhsl(291, 23%, 59%)
HSVhsv(291, 27%, 69%)
CMYKcmyk(4%, 27.4%, 0%, 31.4%)
CIE-LABlab(58.60, 24.36, -19.27)
CIE-LCHlch(58.60, 31.06, 321.66°)
OKLaboklab(65.27% 0.0656 -0.0522)
OKLCHoklch(65.27% 0.084 321.5)
XYZxyz(31.4747, 26.5995, 44.0253)
Luminance0.2660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FAF #86AF7F
analogous
#907FAF #A87FAF #AF7F9E
triadic
#A87FAF #AFA87F #7FAFA8
tetradic
#A87FAF #AF907F #86AF7F #7F9EAF
square
#A87FAF #AF907F #86AF7F #7F9EAF
split-complementary
#A87FAF #9EAF7F #7FAF90
monochromatic
#68456F #8C5D94 #A87FAF #C2A5C7 #DBCADE

Accessibility & contrast

On white

3.32
#A87FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A87FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FAF#FFFFFF#000000##000000
##A87FAF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#838FAD
Tritanopia (blue-blind)
#A98490
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87faf;
/* rgb */ color: rgb(168, 127, 175);
/* oklch */ color: oklch(65.3% 0.084 321.5);
Tailwind
colors: {
  custom: {
    50: '#c2a4c7',
    500: '#a87faf',
    950: '#000000',
  },
}
SCSS
$custom: #a87faf;
$custom-light: #c2a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87faf",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 291.25,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.08387,
    "h": 321.5
  },
  "luminance": 0.26599
}

Semantic roles & 50–950 ramp

primary
#A87FAF
secondary
#BECEBC
accent
#C06875
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#120F13
muted
#817F82

Preview Lab

Preview with #A87FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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