#A87FB7#A87FB7

#A87FB7 is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.6% C 0.093 H 316.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A87FB7
RGBrgb(168, 127, 183)
HSLhsl(284, 28%, 61%)
HSVhsv(284, 31%, 72%)
CMYKcmyk(8.2%, 30.6%, 0%, 28.2%)
CIE-LABlab(58.90, 26.00, -23.37)
CIE-LCHlch(58.90, 34.96, 318.05°)
OKLaboklab(65.6% 0.0679 -0.0638)
OKLCHoklch(65.6% 0.093 316.8)
XYZxyz(32.2838, 26.9231, 48.2866)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FB7 #8EB77F
analogous
#8C7FB7 #A87FB7 #B77FAA
triadic
#A87FB7 #B7A87F #7FB7A8
tetradic
#A87FB7 #B78C7F #8EB77F #7FAAB7
square
#A87FB7 #B78C7F #8EB77F #7FAAB7
split-complementary
#A87FB7 #AAB77F #7FB78C
monochromatic
#6A4478 #8D5A9F #A87FB7 #C3A6CD #DDCDE3

Accessibility & contrast

On white

3.29
#A87FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A87FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FB7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FB7#FFFFFF#000000##000000
##A87FB71.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778BB9
Deuteranopia (green-blind)
#818FB5
Tritanopia (blue-blind)
#A88693
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87fb7;
/* rgb */ color: rgb(168, 127, 183);
/* oklch */ color: oklch(65.6% 0.093 316.8);
Tailwind
colors: {
  custom: {
    50: '#c2a4cc',
    500: '#a87fb7',
    950: '#000000',
  },
}
SCSS
$custom: #a87fb7;
$custom-light: #c2a4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fb7",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 283.929,
    "s": 28,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65598,
    "c": 0.09319,
    "h": 316.8
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#A87FB7
secondary
#C4D4BE
accent
#A73F5B
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F13
muted
#817F82

Preview Lab

Preview with #A87FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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