#A786BA#A786BA

#A786BA is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.9% C 0.084 H 312.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A786BA
RGBrgb(167, 134, 186)
HSLhsl(278, 27%, 63%)
HSVhsv(278, 28%, 73%)
CMYKcmyk(10.2%, 28%, 0%, 27.1%)
CIE-LABlab(60.61, 22.33, -22.46)
CIE-LCHlch(60.61, 31.67, 314.83°)
OKLaboklab(66.92% 0.0569 -0.0613)
OKLCHoklch(66.92% 0.084 312.9)
XYZxyz(33.3229, 28.8113, 50.2505)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786BA #99BA86
analogous
#8D86BA #A786BA #BA86B3
triadic
#A786BA #BAA786 #86BAA7
tetradic
#A786BA #BA8D86 #99BA86 #86B3BA
square
#A786BA #BA8D86 #99BA86 #86B3BA
split-complementary
#A786BA #B3BA86 #86BA8D
monochromatic
#6A487E #8B5FA4 #A786BA #C3ADD0 #E0D4E6

Accessibility & contrast

On white

3.11
#A786BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A786BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786BA#FFFFFF#000000##000000
##A786BA1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BC
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#A68C98
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a786ba;
/* rgb */ color: rgb(167, 134, 186);
/* oklch */ color: oklch(66.9% 0.084 312.9);
Tailwind
colors: {
  custom: {
    50: '#c1a9cf',
    500: '#a786ba',
    950: '#000000',
  },
}
SCSS
$custom: #a786ba;
$custom-light: #c1a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a786ba",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 186
  },
  "hsl": {
    "h": 278.077,
    "s": 27.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.08364,
    "h": 312.9
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#A786BA
secondary
#CBD7C4
accent
#A64065
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121013
muted
#817F82

Preview Lab

Preview with #A786BA

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

Preview Lab → · Contrast checker → · Palette generator →

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