#A786BC#A786BC

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

Color values

HEX#A786BC
RGBrgb(167, 134, 188)
HSLhsl(277, 29%, 63%)
HSVhsv(277, 29%, 74%)
CMYKcmyk(11.2%, 28.7%, 0%, 26.3%)
CIE-LABlab(60.69, 22.75, -23.48)
CIE-LCHlch(60.69, 32.70, 314.10°)
OKLaboklab(67% 0.0575 -0.0641)
OKLCHoklch(67% 0.086 311.9)
XYZxyz(33.5370, 28.8969, 51.3781)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786BC #9BBC86
analogous
#8C86BC #A786BC #BC86B6
triadic
#A786BC #BCA786 #86BCA7
tetradic
#A786BC #BC8C86 #9BBC86 #86B6BC
square
#A786BC #BC8C86 #9BBC86 #86B6BC
split-complementary
#A786BC #B6BC86 #86BC8C
monochromatic
#6A4780 #8A5FA6 #A786BC #C4ADD2 #E0D5E8

Accessibility & contrast

On white

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

On black

6.78
#A786BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786BC#FFFFFF#000000##000000
##A786BC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91BE
Deuteranopia (green-blind)
#8493BA
Tritanopia (blue-blind)
#A58D99
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a786bc;
/* rgb */ color: rgb(167, 134, 188);
/* oklch */ color: oklch(67.0% 0.086 311.9);
Tailwind
colors: {
  custom: {
    50: '#c1a9d0',
    500: '#a786bc',
    950: '#000000',
  },
}
SCSS
$custom: #a786bc;
$custom-light: #c1a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a786bc",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 276.667,
    "s": 28.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67004,
    "c": 0.08614,
    "h": 311.9
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#A786BC
secondary
#CDD9C5
accent
#A73E67
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A786BC

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

Preview Lab → · Contrast checker → · Palette generator →

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