#786F86#786F86

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

Color values

HEX#786F86
RGBrgb(120, 111, 134)
HSLhsl(263, 9%, 48%)
HSVhsv(263, 17%, 53%)
CMYKcmyk(10.4%, 17.2%, 0%, 47.5%)
CIE-LABlab(48.36, 8.27, -11.35)
CIE-LCHlch(48.36, 14.04, 306.07°)
OKLaboklab(55.8% 0.02 -0.0307)
OKLCHoklch(55.8% 0.037 303)
XYZxyz(17.7324, 17.0832, 24.9128)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F86 #7D866F
analogous
#6F7186 #786F86 #836F86
triadic
#786F86 #86786F #6F8678
tetradic
#786F86 #866F71 #7D866F #6F8683
square
#786F86 #866F71 #7D866F #6F8683
split-complementary
#786F86 #86836F #71866F
monochromatic
#3C3843 #5A5365 #786F86 #9790A3 #B6B1BE

Accessibility & contrast

On white

4.75
#786F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#786F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F86
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F86#FFFFFF#000000##FFFFFF
##786F861.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#767277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #786f86;
/* rgb */ color: rgb(120, 111, 134);
/* oklch */ color: oklch(55.8% 0.037 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f98a9',
    500: '#786f86',
    950: '#000000',
  },
}
SCSS
$custom: #786f86;
$custom-light: #9f98a9;
$custom-dark: #000000;
JSON
{
  "hex": "#786f86",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 134
  },
  "hsl": {
    "h": 263.478,
    "s": 9.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.558,
    "c": 0.0366,
    "h": 303
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#786F86
secondary
#AAAEA3
accent
#B2759B
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786F86

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

Preview Lab → · Contrast checker → · Palette generator →

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