#786E8A#786E8A

#786E8A is a mid, muted violet. Relative luminance 0.170; OKLCH L 55.7% C 0.044 H 301.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#786E8A
RGBrgb(120, 110, 138)
HSLhsl(261, 11%, 49%)
HSVhsv(261, 20%, 54%)
CMYKcmyk(13%, 20.3%, 0%, 45.9%)
CIE-LABlab(48.23, 9.77, -13.92)
CIE-LCHlch(48.23, 17.01, 305.06°)
OKLaboklab(55.75% 0.023 -0.0378)
OKLCHoklch(55.75% 0.044 301.3)
XYZxyz(17.9082, 16.9799, 26.3738)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E8A #808A6E
analogous
#6E728A #786E8A #866E8A
triadic
#786E8A #8A786E #6E8A78
tetradic
#786E8A #8A6E72 #808A6E #6E8A86
square
#786E8A #8A6E72 #808A6E #6E8A86
split-complementary
#786E8A #8A866E #728A6E
monochromatic
#3D3846 #5A5368 #786E8A #978FA6 #B7B1C1

Accessibility & contrast

On white

4.78
#786E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#786E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E8A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E8A#FFFFFF#000000##FFFFFF
##786E8A1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#757277
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #786e8a;
/* rgb */ color: rgb(120, 110, 138);
/* oklch */ color: oklch(55.7% 0.044 301.3);
Tailwind
colors: {
  custom: {
    50: '#9f97ac',
    500: '#786e8a',
    950: '#000000',
  },
}
SCSS
$custom: #786e8a;
$custom-light: #9f97ac;
$custom-dark: #000000;
JSON
{
  "hex": "#786e8a",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 138
  },
  "hsl": {
    "h": 261.429,
    "s": 11.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.04425,
    "h": 301.3
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#786E8A
secondary
#ACB1A3
accent
#B4749D
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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