#786C84#786C84

#786C84 is a mid, muted violet. Relative luminance 0.164; OKLCH L 55.1% C 0.039 H 307.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#786C84
RGBrgb(120, 108, 132)
HSLhsl(270, 10%, 47%)
HSVhsv(270, 18%, 52%)
CMYKcmyk(9.1%, 18.2%, 0%, 48.2%)
CIE-LABlab(47.47, 9.61, -11.50)
CIE-LCHlch(47.47, 14.99, 309.88°)
OKLaboklab(55.09% 0.024 -0.0311)
OKLCHoklch(55.09% 0.039 307.7)
XYZxyz(17.2724, 16.3842, 24.0779)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C84 #78846C
analogous
#6C6C84 #786C84 #846C84
triadic
#786C84 #84786C #6C8478
tetradic
#786C84 #846C6C #78846C #6C8484
square
#786C84 #846C6C #78846C #6C8484
split-complementary
#786C84 #84846C #6C846C
monochromatic
#3B3541 #595062 #786C84 #978CA1 #B5AEBD

Accessibility & contrast

On white

4.91
#786C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#786C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C84
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C84#FFFFFF#000000##FFFFFF
##786C841.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687085
Deuteranopia (green-blind)
#6A7183
Tritanopia (blue-blind)
#776F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786c84;
/* rgb */ color: rgb(120, 108, 132);
/* oklch */ color: oklch(55.1% 0.039 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f96a7',
    500: '#786c84',
    950: '#000000',
  },
}
SCSS
$custom: #786c84;
$custom-light: #9f96a7;
$custom-dark: #000000;
JSON
{
  "hex": "#786c84",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 132
  },
  "hsl": {
    "h": 270,
    "s": 10,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.03928,
    "h": 307.7
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#786C84
secondary
#A6ACA0
accent
#B37594
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786C84

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

Preview Lab → · Contrast checker → · Palette generator →

#786C84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva