#786E82#786E82

#786E82 is a mid, muted violet. Relative luminance 0.168; OKLCH L 55.4% C 0.033 H 307.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#786E82
RGBrgb(120, 110, 130)
HSLhsl(270, 8%, 47%)
HSVhsv(270, 15%, 51%)
CMYKcmyk(7.7%, 15.4%, 0%, 49%)
CIE-LABlab(47.95, 7.98, -9.60)
CIE-LCHlch(47.95, 12.48, 309.75°)
OKLaboklab(55.43% 0.02 -0.0258)
OKLCHoklch(55.43% 0.033 307.8)
XYZxyz(17.3502, 16.7567, 23.4351)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E82 #78826E
analogous
#6E6E82 #786E82 #826E82
triadic
#786E82 #82786E #6E8278
tetradic
#786E82 #826E6E #78826E #6E8282
square
#786E82 #826E6E #78826E #6E8282
split-complementary
#786E82 #82826E #6E826E
monochromatic
#3B3640 #595261 #786E82 #978E9F #B5AFBB

Accessibility & contrast

On white

4.83
#786E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#786E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E82
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E82#FFFFFF#000000##FFFFFF
##786E821.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7183
Deuteranopia (green-blind)
#6D7281
Tritanopia (blue-blind)
#777075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #786e82;
/* rgb */ color: rgb(120, 110, 130);
/* oklch */ color: oklch(55.4% 0.033 307.8);
Tailwind
colors: {
  custom: {
    50: '#9f97a6',
    500: '#786e82',
    950: '#000000',
  },
}
SCSS
$custom: #786e82;
$custom-light: #9f97a6;
$custom-dark: #000000;
JSON
{
  "hex": "#786e82",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 130
  },
  "hsl": {
    "h": 270,
    "s": 8.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.03271,
    "h": 307.8
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#786E82
secondary
#A6ABA1
accent
#B17694
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786E82

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

Preview Lab → · Contrast checker → · Palette generator →

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