#786A82#786A82

#786A82 is a mid, muted violet. Relative luminance 0.159; OKLCH L 54.6% C 0.040 H 311.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#786A82
RGBrgb(120, 106, 130)
HSLhsl(275, 10%, 46%)
HSVhsv(275, 18%, 51%)
CMYKcmyk(7.7%, 18.5%, 0%, 49%)
CIE-LABlab(46.86, 10.37, -11.24)
CIE-LCHlch(46.86, 15.29, 312.69°)
OKLaboklab(54.59% 0.0265 -0.0303)
OKLCHoklch(54.59% 0.04 311.1)
XYZxyz(16.9283, 15.9130, 23.2945)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A82 #74826A
analogous
#6C6A82 #786A82 #826A80
triadic
#786A82 #82786A #6A8278
tetradic
#786A82 #826C6A #74826A #6A8082
square
#786A82 #826C6A #74826A #6A8082
split-complementary
#786A82 #80826A #6A826C
monochromatic
#3A333F #594F60 #786A82 #968A9F #B4ABBB

Accessibility & contrast

On white

5.02
#786A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#786A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A82
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A82#FFFFFF#000000##FFFFFF
##786A821.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E83
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#776D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786a82;
/* rgb */ color: rgb(120, 106, 130);
/* oklch */ color: oklch(54.6% 0.040 311.1);
Tailwind
colors: {
  custom: {
    50: '#9f94a6',
    500: '#786a82',
    950: '#000000',
  },
}
SCSS
$custom: #786a82;
$custom-light: #9f94a6;
$custom-dark: #000000;
JSON
{
  "hex": "#786a82",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 130
  },
  "hsl": {
    "h": 275,
    "s": 10.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.04027,
    "h": 311.1
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#786A82
secondary
#A3AA9D
accent
#B3758F
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786A82

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

Preview Lab → · Contrast checker → · Palette generator →

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