#786F89#786F89

#786F89 is a mid, muted violet. Relative luminance 0.172; OKLCH L 55.9% C 0.041 H 300.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#786F89
RGBrgb(120, 111, 137)
HSLhsl(261, 10%, 49%)
HSVhsv(261, 19%, 54%)
CMYKcmyk(12.4%, 19%, 0%, 46.3%)
CIE-LABlab(48.47, 8.94, -12.97)
CIE-LCHlch(48.47, 15.76, 304.59°)
OKLaboklab(55.92% 0.021 -0.0352)
OKLCHoklch(55.92% 0.041 300.9)
XYZxyz(17.9446, 17.1681, 26.0305)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F89 #80896F
analogous
#6F7389 #786F89 #856F89
triadic
#786F89 #89786F #6F8978
tetradic
#786F89 #896F73 #80896F #6F8985
square
#786F89 #896F73 #80896F #6F8985
split-complementary
#786F89 #89856F #73896F
monochromatic
#3D3845 #5A5467 #786F89 #9790A5 #B7B2C1

Accessibility & contrast

On white

4.74
#786F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#786F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F89
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F89#FFFFFF#000000##FFFFFF
##786F891.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738A
Deuteranopia (green-blind)
#6C7388
Tritanopia (blue-blind)
#757378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #786f89;
/* rgb */ color: rgb(120, 111, 137);
/* oklch */ color: oklch(55.9% 0.041 300.9);
Tailwind
colors: {
  custom: {
    50: '#9f98ab',
    500: '#786f89',
    950: '#000000',
  },
}
SCSS
$custom: #786f89;
$custom-light: #9f98ab;
$custom-dark: #000000;
JSON
{
  "hex": "#786f89",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 137
  },
  "hsl": {
    "h": 260.769,
    "s": 10.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.04099,
    "h": 300.9
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#786F89
secondary
#ACB0A4
accent
#B3749E
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786F89

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

Preview Lab → · Contrast checker → · Palette generator →

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