#786E84#786E84

#786E84 is a mid, muted violet. Relative luminance 0.168; OKLCH L 55.5% C 0.036 H 305.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#786E84
RGBrgb(120, 110, 132)
HSLhsl(267, 9%, 47%)
HSVhsv(267, 17%, 52%)
CMYKcmyk(9.1%, 16.7%, 0%, 48.2%)
CIE-LABlab(48.02, 8.42, -10.68)
CIE-LCHlch(48.02, 13.60, 308.24°)
OKLaboklab(55.51% 0.0208 -0.0288)
OKLCHoklch(55.51% 0.036 305.8)
XYZxyz(17.4858, 16.8109, 24.1490)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E84 #7A846E
analogous
#6E6F84 #786E84 #836E84
triadic
#786E84 #84786E #6E8478
tetradic
#786E84 #846E6F #7A846E #6E8483
square
#786E84 #846E6F #7A846E #6E8483
split-complementary
#786E84 #84836E #6F846E
monochromatic
#3B3641 #5A5263 #786E84 #978EA1 #B6B0BD

Accessibility & contrast

On white

4.81
#786E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#786E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E84
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E84#FFFFFF#000000##FFFFFF
##786E841.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7285
Deuteranopia (green-blind)
#6C7283
Tritanopia (blue-blind)
#767175
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #786e84;
/* rgb */ color: rgb(120, 110, 132);
/* oklch */ color: oklch(55.5% 0.036 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f97a7',
    500: '#786e84',
    950: '#000000',
  },
}
SCSS
$custom: #786e84;
$custom-light: #9f97a7;
$custom-dark: #000000;
JSON
{
  "hex": "#786e84",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 132
  },
  "hsl": {
    "h": 267.273,
    "s": 9.091,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.03555,
    "h": 305.8
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#786E84
secondary
#A7ADA1
accent
#B27697
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786E84

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

Preview Lab → · Contrast checker → · Palette generator →

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