#A786BE#A786BE

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

Color values

HEX#A786BE
RGBrgb(167, 134, 190)
HSLhsl(275, 30%, 64%)
HSVhsv(275, 29%, 75%)
CMYKcmyk(12.1%, 29.5%, 0%, 25.5%)
CIE-LABlab(60.77, 23.18, -24.49)
CIE-LCHlch(60.77, 33.73, 313.43°)
OKLaboklab(67.09% 0.0581 -0.067)
OKLCHoklch(67.09% 0.089 310.9)
XYZxyz(33.7541, 28.9838, 52.5215)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786BE #9DBE86
analogous
#8B86BE #A786BE #BE86B9
triadic
#A786BE #BEA786 #86BEA7
tetradic
#A786BE #BE8B86 #9DBE86 #86B9BE
square
#A786BE #BE8B86 #9DBE86 #86B9BE
split-complementary
#A786BE #B9BE86 #86BE8B
monochromatic
#6A4683 #8A5EA9 #A786BE #C4AED3 #E1D6E9

Accessibility & contrast

On white

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

On black

6.80
#A786BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786BE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786BE#FFFFFF#000000##000000
##A786BE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#8493BC
Tritanopia (blue-blind)
#A58D9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a786be;
/* rgb */ color: rgb(167, 134, 190);
/* oklch */ color: oklch(67.1% 0.089 310.9);
Tailwind
colors: {
  custom: {
    50: '#c1a9d1',
    500: '#a786be',
    950: '#000000',
  },
}
SCSS
$custom: #a786be;
$custom-light: #c1a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a786be",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 190
  },
  "hsl": {
    "h": 275.357,
    "s": 30.108,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67088,
    "c": 0.08867,
    "h": 310.9
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#A786BE
secondary
#CEDAC6
accent
#A93D69
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A786BE

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

Preview Lab → · Contrast checker → · Palette generator →

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