#786A86#786A86

#786A86 is a mid, muted violet. Relative luminance 0.160; OKLCH L 54.7% C 0.046 H 307.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#786A86
RGBrgb(120, 106, 134)
HSLhsl(270, 12%, 47%)
HSVhsv(270, 21%, 53%)
CMYKcmyk(10.4%, 20.9%, 0%, 47.5%)
CIE-LABlab(47.00, 11.26, -13.41)
CIE-LCHlch(47.00, 17.51, 310.01°)
OKLaboklab(54.75% 0.0279 -0.0363)
OKLCHoklch(54.75% 0.046 307.5)
XYZxyz(17.2021, 16.0225, 24.7360)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A86 #78866A
analogous
#6A6A86 #786A86 #866A86
triadic
#786A86 #86786A #6A8678
tetradic
#786A86 #866A6A #78866A #6A8686
square
#786A86 #866A6A #78866A #6A8686
split-complementary
#786A86 #86866A #6A866A
monochromatic
#3B3442 #594F64 #786A86 #978AA3 #B5ADBE

Accessibility & contrast

On white

4.99
#786A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#786A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A86
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A86#FFFFFF#000000##FFFFFF
##786A861.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F87
Deuteranopia (green-blind)
#687085
Tritanopia (blue-blind)
#766E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786a86;
/* rgb */ color: rgb(120, 106, 134);
/* oklch */ color: oklch(54.7% 0.046 307.5);
Tailwind
colors: {
  custom: {
    50: '#9f94a9',
    500: '#786a86',
    950: '#000000',
  },
}
SCSS
$custom: #786a86;
$custom-light: #9f94a9;
$custom-dark: #000000;
JSON
{
  "hex": "#786a86",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 134
  },
  "hsl": {
    "h": 270,
    "s": 11.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.04584,
    "h": 307.5
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#786A86
secondary
#A6AD9F
accent
#B57394
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786A86

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

Preview Lab → · Contrast checker → · Palette generator →

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