#A787AA#A787AA

#A787AA is a light, moderate purple. Relative luminance 0.284; OKLCH L 66.5% C 0.063 H 323.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A787AA
RGBrgb(167, 135, 170)
HSLhsl(295, 17%, 60%)
HSVhsv(295, 21%, 67%)
CMYKcmyk(1.8%, 20.6%, 0%, 33.3%)
CIE-LABlab(60.29, 18.47, -13.86)
CIE-LCHlch(60.29, 23.10, 323.11°)
OKLaboklab(66.48% 0.0503 -0.0373)
OKLCHoklch(66.48% 0.063 323.5)
XYZxyz(31.8551, 28.4464, 41.8350)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787AA #8AAA87
analogous
#9687AA #A787AA #AA879C
triadic
#A787AA #AAA787 #87AAA7
tetradic
#A787AA #AA9687 #8AAA87 #879CAA
square
#A787AA #AA9687 #8AAA87 #879CAA
split-complementary
#A787AA #9CAA87 #87AA96
monochromatic
#684C6B #8B658F #A787AA #C1ABC3 #DCCFDD

Accessibility & contrast

On white

3.14
#A787AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A787AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787AA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787AA#FFFFFF#000000##000000
##A787AA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAB
Deuteranopia (green-blind)
#8B93A9
Tritanopia (blue-blind)
#A98A93
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a787aa;
/* rgb */ color: rgb(167, 135, 170);
/* oklch */ color: oklch(66.5% 0.063 323.5);
Tailwind
colors: {
  custom: {
    50: '#c1aac3',
    500: '#a787aa',
    950: '#000000',
  },
}
SCSS
$custom: #a787aa;
$custom-light: #c1aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#a787aa",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 294.857,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66483,
    "c": 0.06265,
    "h": 323.5
  },
  "luminance": 0.28446
}

Semantic roles & 50–950 ramp

primary
#A787AA
secondary
#C1CDC0
accent
#BA6E75
background
#FBFAFB
surface
#F7F4F7
border
#D0CED0
text
#121012
muted
#817F81

Preview Lab

Preview with #A787AA

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

Preview Lab → · Contrast checker → · Palette generator →

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