#A786AA#A786AA

#A786AA is a light, moderate purple. Relative luminance 0.282; OKLCH L 66.3% C 0.065 H 323.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A786AA
RGBrgb(167, 134, 170)
HSLhsl(295, 17%, 60%)
HSVhsv(295, 21%, 67%)
CMYKcmyk(1.8%, 21.2%, 0%, 33.3%)
CIE-LABlab(60.04, 19.04, -14.24)
CIE-LCHlch(60.04, 23.78, 323.21°)
OKLaboklab(66.29% 0.0519 -0.0383)
OKLCHoklch(66.29% 0.065 323.6)
XYZxyz(31.7162, 28.1686, 41.7887)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786AA #89AA86
analogous
#9586AA #A786AA #AA869B
triadic
#A786AA #AAA786 #86AAA7
tetradic
#A786AA #AA9586 #89AA86 #869BAA
square
#A786AA #AA9586 #89AA86 #869BAA
split-complementary
#A786AA #9BAA86 #86AA95
monochromatic
#684B6B #8B648F #A786AA #C1AAC3 #DBCEDD

Accessibility & contrast

On white

3.17
#A786AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A786AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786AA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786AA#FFFFFF#000000##000000
##A786AA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAC
Deuteranopia (green-blind)
#8A92A9
Tritanopia (blue-blind)
#A98992
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a786aa;
/* rgb */ color: rgb(167, 134, 170);
/* oklch */ color: oklch(66.3% 0.065 323.6);
Tailwind
colors: {
  custom: {
    50: '#c1a9c3',
    500: '#a786aa',
    950: '#000000',
  },
}
SCSS
$custom: #a786aa;
$custom-light: #c1a9c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a786aa",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 170
  },
  "hsl": {
    "h": 295,
    "s": 17.476,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.06451,
    "h": 323.6
  },
  "luminance": 0.28168
}

Semantic roles & 50–950 ramp

primary
#A786AA
secondary
#C0CDBF
accent
#BA6E74
background
#FBFAFB
surface
#F7F4F7
border
#D0CED0
text
#121012
muted
#817F81

Preview Lab

Preview with #A786AA

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

Preview Lab → · Contrast checker → · Palette generator →

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