#786B83#786B83

#786B83 is a mid, muted violet. Relative luminance 0.161; OKLCH L 54.8% C 0.040 H 309.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#786B83
RGBrgb(120, 107, 131)
HSLhsl(273, 10%, 47%)
HSVhsv(273, 18%, 51%)
CMYKcmyk(8.4%, 18.3%, 0%, 48.6%)
CIE-LABlab(47.17, 9.99, -11.37)
CIE-LCHlch(47.17, 15.14, 311.30°)
OKLaboklab(54.84% 0.0252 -0.0307)
OKLCHoklch(54.84% 0.04 309.4)
XYZxyz(17.0994, 16.1473, 23.6842)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786B83 #76836B
analogous
#6C6B83 #786B83 #836B82
triadic
#786B83 #83786B #6B8378
tetradic
#786B83 #836C6B #76836B #6B8283
square
#786B83 #836C6B #76836B #6B8283
split-complementary
#786B83 #82836B #6B836C
monochromatic
#3A3440 #594F61 #786B83 #968BA0 #B5ADBC

Accessibility & contrast

On white

4.97
#786B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#786B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786B83
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786B83#FFFFFF#000000##FFFFFF
##786B831.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676F84
Deuteranopia (green-blind)
#6A7082
Tritanopia (blue-blind)
#776E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #786b83;
/* rgb */ color: rgb(120, 107, 131);
/* oklch */ color: oklch(54.8% 0.040 309.4);
Tailwind
colors: {
  custom: {
    50: '#9f95a7',
    500: '#786b83',
    950: '#000000',
  },
}
SCSS
$custom: #786b83;
$custom-light: #9f95a7;
$custom-dark: #000000;
JSON
{
  "hex": "#786b83",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 131
  },
  "hsl": {
    "h": 272.5,
    "s": 10.084,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.03975,
    "h": 309.4
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#786B83
secondary
#A4AB9F
accent
#B37591
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786B83

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

Preview Lab → · Contrast checker → · Palette generator →

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