#A87FAA#A87FAA

#A87FAA is a light, moderate purple. Relative luminance 0.264; OKLCH L 65.1% C 0.078 H 324.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A87FAA
RGBrgb(168, 127, 170)
HSLhsl(297, 20%, 58%)
HSVhsv(297, 25%, 67%)
CMYKcmyk(1.2%, 25.3%, 0%, 33.3%)
CIE-LABlab(58.42, 23.37, -16.68)
CIE-LCHlch(58.42, 28.71, 324.48°)
OKLaboklab(65.07% 0.0641 -0.045)
OKLCHoklch(65.07% 0.078 324.9)
XYZxyz(30.9927, 26.4067, 41.4868)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FAA #81AA7F
analogous
#927FAA #A87FAA #AA7F96
triadic
#A87FAA #AAA87F #7FAAA8
tetradic
#A87FAA #AA927F #81AA7F #7F96AA
square
#A87FAA #AA927F #81AA7F #7F96AA
split-complementary
#A87FAA #96AA7F #7FAA92
monochromatic
#674669 #8B5E8E #A87FAA #C1A4C2 #DAC9DB

Accessibility & contrast

On white

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

On black

6.28
#A87FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FAA#FFFFFF#000000##000000
##A87FAA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89AC
Deuteranopia (green-blind)
#858EA8
Tritanopia (blue-blind)
#AA838E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a87faa;
/* rgb */ color: rgb(168, 127, 170);
/* oklch */ color: oklch(65.1% 0.078 324.9);
Tailwind
colors: {
  custom: {
    50: '#c2a4c3',
    500: '#a87faa',
    950: '#000000',
  },
}
SCSS
$custom: #a87faa;
$custom-light: #c2a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87faa",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 297.209,
    "s": 20.188,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65071,
    "c": 0.07831,
    "h": 324.9
  },
  "luminance": 0.26406
}

Semantic roles & 50–950 ramp

primary
#A87FAA
secondary
#BBCBBA
accent
#BD6B6F
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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