#A786BB#A786BB

#A786BB is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.0% C 0.085 H 312.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A786BB
RGBrgb(167, 134, 187)
HSLhsl(277, 28%, 63%)
HSVhsv(277, 28%, 73%)
CMYKcmyk(10.7%, 28.3%, 0%, 26.7%)
CIE-LABlab(60.65, 22.54, -22.97)
CIE-LCHlch(60.65, 32.18, 314.46°)
OKLaboklab(66.96% 0.0572 -0.0627)
OKLCHoklch(66.96% 0.085 312.4)
XYZxyz(33.4296, 28.8540, 50.8124)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786BB #9ABB86
analogous
#8C86BB #A786BB #BB86B4
triadic
#A786BB #BBA786 #86BBA7
tetradic
#A786BB #BB8C86 #9ABB86 #86B4BB
square
#A786BB #BB8C86 #9ABB86 #86B4BB
split-complementary
#A786BB #B4BB86 #86BB8C
monochromatic
#6A477F #8B5FA5 #A786BB #C3ADD1 #E0D4E7

Accessibility & contrast

On white

3.10
#A786BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A786BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786BB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786BB#FFFFFF#000000##000000
##A786BB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BD
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#A58D99
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a786bb;
/* rgb */ color: rgb(167, 134, 187);
/* oklch */ color: oklch(67.0% 0.085 312.4);
Tailwind
colors: {
  custom: {
    50: '#c1a9cf',
    500: '#a786bb',
    950: '#000000',
  },
}
SCSS
$custom: #a786bb;
$custom-light: #c1a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a786bb",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 277.358,
    "s": 28.042,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.08489,
    "h": 312.4
  },
  "luminance": 0.28854
}

Semantic roles & 50–950 ramp

primary
#A786BB
secondary
#CCD8C5
accent
#A73F66
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A786BB

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

Preview Lab → · Contrast checker → · Palette generator →

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