#786E87#786E87

#786E87 is a mid, muted violet. Relative luminance 0.169; OKLCH L 55.6% C 0.040 H 303.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#786E87
RGBrgb(120, 110, 135)
HSLhsl(264, 10%, 48%)
HSVhsv(264, 19%, 53%)
CMYKcmyk(11.1%, 18.5%, 0%, 47.1%)
CIE-LABlab(48.13, 9.09, -12.31)
CIE-LCHlch(48.13, 15.30, 306.45°)
OKLaboklab(55.63% 0.0219 -0.0333)
OKLCHoklch(55.63% 0.04 303.3)
XYZxyz(17.6940, 16.8942, 25.2457)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E87 #7D876E
analogous
#6E7087 #786E87 #846E87
triadic
#786E87 #87786E #6E8778
tetradic
#786E87 #876E70 #7D876E #6E8784
square
#786E87 #876E70 #7D876E #6E8784
split-complementary
#786E87 #87846E #70876E
monochromatic
#3C3744 #5A5365 #786E87 #978FA3 #B6B0BF

Accessibility & contrast

On white

4.80
#786E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#786E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E87
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E87#FFFFFF#000000##FFFFFF
##786E871.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7288
Deuteranopia (green-blind)
#6B7286
Tritanopia (blue-blind)
#767176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #786e87;
/* rgb */ color: rgb(120, 110, 135);
/* oklch */ color: oklch(55.6% 0.040 303.3);
Tailwind
colors: {
  custom: {
    50: '#9f97aa',
    500: '#786e87',
    950: '#000000',
  },
}
SCSS
$custom: #786e87;
$custom-light: #9f97aa;
$custom-dark: #000000;
JSON
{
  "hex": "#786e87",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 135
  },
  "hsl": {
    "h": 264,
    "s": 10.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.03987,
    "h": 303.3
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#786E87
secondary
#AAAFA2
accent
#B3759A
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786E87

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

Preview Lab → · Contrast checker → · Palette generator →

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