#786F85#786F85

#786F85 is a mid, muted violet. Relative luminance 0.171; OKLCH L 55.8% C 0.035 H 303.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#786F85
RGBrgb(120, 111, 133)
HSLhsl(265, 9%, 48%)
HSVhsv(265, 17%, 52%)
CMYKcmyk(9.8%, 16.5%, 0%, 47.8%)
CIE-LABlab(48.33, 8.05, -10.81)
CIE-LCHlch(48.33, 13.48, 306.66°)
OKLaboklab(55.76% 0.0196 -0.0292)
OKLCHoklch(55.76% 0.035 303.8)
XYZxyz(17.6630, 17.0554, 24.5473)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F85 #7C856F
analogous
#6F7185 #786F85 #836F85
triadic
#786F85 #85786F #6F8578
tetradic
#786F85 #856F71 #7C856F #6F8583
square
#786F85 #856F71 #7C856F #6F8583
split-complementary
#786F85 #85836F #71856F
monochromatic
#3C3742 #5A5364 #786F85 #978FA2 #B6B1BE

Accessibility & contrast

On white

4.76
#786F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#786F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F85
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F85#FFFFFF#000000##FFFFFF
##786F851.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7286
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#767276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #786f85;
/* rgb */ color: rgb(120, 111, 133);
/* oklch */ color: oklch(55.8% 0.035 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f98a8',
    500: '#786f85',
    950: '#000000',
  },
}
SCSS
$custom: #786f85;
$custom-light: #9f98a8;
$custom-dark: #000000;
JSON
{
  "hex": "#786f85",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 133
  },
  "hsl": {
    "h": 264.545,
    "s": 9.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.03514,
    "h": 303.8
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#786F85
secondary
#A9ADA2
accent
#B27699
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786F85

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

Preview Lab → · Contrast checker → · Palette generator →

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