#A786BF#A786BF

#A786BF is a light, moderate violet. Relative luminance 0.290; OKLCH L 67.1% C 0.090 H 310.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A786BF
RGBrgb(167, 134, 191)
HSLhsl(275, 31%, 64%)
HSVhsv(275, 30%, 75%)
CMYKcmyk(12.6%, 29.8%, 0%, 25.1%)
CIE-LABlab(60.81, 23.40, -25.00)
CIE-LCHlch(60.81, 34.24, 313.11°)
OKLaboklab(67.13% 0.0583 -0.0684)
OKLCHoklch(67.13% 0.09 310.4)
XYZxyz(33.8638, 29.0276, 53.0991)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786BF #9EBF86
analogous
#8A86BF #A786BF #BF86BA
triadic
#A786BF #BFA786 #86BFA7
tetradic
#A786BF #BF8A86 #9EBF86 #86BABF
square
#A786BF #BF8A86 #9EBF86 #86BABF
split-complementary
#A786BF #BABF86 #86BF8A
monochromatic
#6A4685 #8A5EAA #A786BF #C4AED4 #E1D6E9

Accessibility & contrast

On white

3.09
#A786BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A786BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786BF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786BF#FFFFFF#000000##000000
##A786BF1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C1
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#A48E9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a786bf;
/* rgb */ color: rgb(167, 134, 191);
/* oklch */ color: oklch(67.1% 0.090 310.4);
Tailwind
colors: {
  custom: {
    50: '#c1a9d2',
    500: '#a786bf',
    950: '#000000',
  },
}
SCSS
$custom: #a786bf;
$custom-light: #c1a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a786bf",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 274.737,
    "s": 30.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.08994,
    "h": 310.4
  },
  "luminance": 0.29027
}

Semantic roles & 50–950 ramp

primary
#A786BF
secondary
#CFDAC6
accent
#AA3C6A
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A786BF

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

Preview Lab → · Contrast checker → · Palette generator →

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