#786F83#786F83

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

Color values

HEX#786F83
RGBrgb(120, 111, 131)
HSLhsl(267, 8%, 47%)
HSVhsv(267, 15%, 51%)
CMYKcmyk(8.4%, 15.3%, 0%, 48.6%)
CIE-LABlab(48.26, 7.60, -9.73)
CIE-LCHlch(48.26, 12.35, 308.02°)
OKLaboklab(55.68% 0.0188 -0.0262)
OKLCHoklch(55.68% 0.032 305.7)
XYZxyz(17.5262, 17.0007, 23.8265)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F83 #7A836F
analogous
#6F7083 #786F83 #826F83
triadic
#786F83 #83786F #6F8378
tetradic
#786F83 #836F70 #7A836F #6F8382
square
#786F83 #836F70 #7A836F #6F8382
split-complementary
#786F83 #83826F #70836F
monochromatic
#3B3741 #5A5362 #786F83 #978FA0 #B6B0BC

Accessibility & contrast

On white

4.77
#786F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786F83
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F83#FFFFFF#000000##FFFFFF
##786F831.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7284
Deuteranopia (green-blind)
#6D7382
Tritanopia (blue-blind)
#777276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #786f83;
/* rgb */ color: rgb(120, 111, 131);
/* oklch */ color: oklch(55.7% 0.032 305.7);
Tailwind
colors: {
  custom: {
    50: '#9f98a7',
    500: '#786f83',
    950: '#000000',
  },
}
SCSS
$custom: #786f83;
$custom-light: #9f98a7;
$custom-dark: #000000;
JSON
{
  "hex": "#786f83",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 131
  },
  "hsl": {
    "h": 267,
    "s": 8.264,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.03227,
    "h": 305.7
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#786F83
secondary
#A7ACA2
accent
#B17797
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786F83

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

Preview Lab → · Contrast checker → · Palette generator →

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