#786080#786080

#786080 is a mid, muted purple. Relative luminance 0.139; OKLCH L 52.4% C 0.057 H 317.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#786080
RGBrgb(120, 96, 128)
HSLhsl(285, 14%, 44%)
HSVhsv(285, 25%, 50%)
CMYKcmyk(6.3%, 25%, 0%, 49.8%)
CIE-LABlab(44.11, 15.95, -14.19)
CIE-LCHlch(44.11, 21.35, 318.33°)
OKLaboklab(52.44% 0.0421 -0.0385)
OKLCHoklch(52.44% 0.057 317.6)
XYZxyz(15.8243, 13.9176, 22.2706)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786080 #688060
analogous
#686080 #786080 #806078
triadic
#786080 #807860 #608078
tetradic
#786080 #806860 #688060 #607880
square
#786080 #806860 #688060 #607880
split-complementary
#786080 #788060 #608068
monochromatic
#362C3A #57465D #786080 #977F9F #B3A2B9

Accessibility & contrast

On white

5.55
#786080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#786080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786080
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786080#FFFFFF#000000##FFFFFF
##7860801.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6781
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#78636B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #786080;
/* rgb */ color: rgb(120, 96, 128);
/* oklch */ color: oklch(52.4% 0.057 317.6);
Tailwind
colors: {
  custom: {
    50: '#9f8da5',
    500: '#786080',
    950: '#000000',
  },
}
SCSS
$custom: #786080;
$custom-light: #9f8da5;
$custom-dark: #000000;
JSON
{
  "hex": "#786080",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 128
  },
  "hsl": {
    "h": 285,
    "s": 14.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.05702,
    "h": 317.6
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#786080
secondary
#99A894
accent
#B77182
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786080

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

Preview Lab → · Contrast checker → · Palette generator →

#786080 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva