#786C88#786C88

#786C88 is a mid, muted violet. Relative luminance 0.165; OKLCH L 55.2% C 0.045 H 304.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#786C88
RGBrgb(120, 108, 136)
HSLhsl(266, 11%, 48%)
HSVhsv(266, 21%, 53%)
CMYKcmyk(11.8%, 20.6%, 0%, 46.7%)
CIE-LABlab(47.62, 10.51, -13.67)
CIE-LCHlch(47.62, 17.24, 307.56°)
OKLaboklab(55.25% 0.0254 -0.0371)
OKLCHoklch(55.25% 0.045 304.4)
XYZxyz(17.5514, 16.4958, 25.5471)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C88 #7C886C
analogous
#6C6E88 #786C88 #866C88
triadic
#786C88 #88786C #6C8878
tetradic
#786C88 #886C6E #7C886C #6C8886
square
#786C88 #886C6E #7C886C #6C8886
split-complementary
#786C88 #88866C #6E886C
monochromatic
#3C3644 #5A5166 #786C88 #978DA4 #B6AFBF

Accessibility & contrast

On white

4.88
#786C88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#786C88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C88
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C88#FFFFFF#000000##FFFFFF
##786C881.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677189
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#767075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786c88;
/* rgb */ color: rgb(120, 108, 136);
/* oklch */ color: oklch(55.2% 0.045 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f96aa',
    500: '#786c88',
    950: '#000000',
  },
}
SCSS
$custom: #786c88;
$custom-light: #9f96aa;
$custom-dark: #000000;
JSON
{
  "hex": "#786c88",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 136
  },
  "hsl": {
    "h": 265.714,
    "s": 11.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.04498,
    "h": 304.4
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#786C88
secondary
#A9AFA1
accent
#B47399
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786C88

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

Preview Lab → · Contrast checker → · Palette generator →

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