#A87FBA#A87FBA

#A87FBA is a light, moderate purple. Relative luminance 0.270; OKLCH L 65.7% C 0.097 H 315.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A87FBA
RGBrgb(168, 127, 186)
HSLhsl(282, 30%, 61%)
HSVhsv(282, 32%, 73%)
CMYKcmyk(9.7%, 31.7%, 0%, 27.1%)
CIE-LABlab(59.02, 26.63, -24.90)
CIE-LCHlch(59.02, 36.46, 316.92°)
OKLaboklab(65.73% 0.0688 -0.0681)
OKLCHoklch(65.73% 0.097 315.3)
XYZxyz(32.5994, 27.0494, 49.9486)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FBA #91BA7F
analogous
#8B7FBA #A87FBA #BA7FAF
triadic
#A87FBA #BAA87F #7FBAA8
tetradic
#A87FBA #BA8B7F #91BA7F #7FAFBA
square
#A87FBA #BA8B7F #91BA7F #7FAFBA
split-complementary
#A87FBA #AFBA7F #7FBA8B
monochromatic
#6A437C #8D58A4 #A87FBA #C3A7CF #DECFE5

Accessibility & contrast

On white

3.28
#A87FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A87FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FBA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FBA#FFFFFF#000000##000000
##A87FBA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBC
Deuteranopia (green-blind)
#808FB8
Tritanopia (blue-blind)
#A78694
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87fba;
/* rgb */ color: rgb(168, 127, 186);
/* oklch */ color: oklch(65.7% 0.097 315.3);
Tailwind
colors: {
  custom: {
    50: '#c2a4cf',
    500: '#a87fba',
    950: '#000000',
  },
}
SCSS
$custom: #a87fba;
$custom-light: #c2a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fba",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 281.695,
    "s": 29.949,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.09678,
    "h": 315.3
  },
  "luminance": 0.27049
}

Semantic roles & 50–950 ramp

primary
#A87FBA
secondary
#C6D5BF
accent
#A93D5E
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F13
muted
#817F82

Preview Lab

Preview with #A87FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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