#80788C#80788C

#80788C is a mid, muted violet. Relative luminance 0.199; OKLCH L 58.7% C 0.032 H 303.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#80788C
RGBrgb(128, 120, 140)
HSLhsl(264, 8%, 51%)
HSVhsv(264, 14%, 55%)
CMYKcmyk(8.6%, 14.3%, 0%, 45.1%)
CIE-LABlab(51.74, 7.14, -9.74)
CIE-LCHlch(51.74, 12.08, 306.22°)
OKLaboklab(58.67% 0.0174 -0.0262)
OKLCHoklch(58.67% 0.032 303.6)
XYZxyz(20.3513, 19.9156, 27.5778)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80788C #848C78
analogous
#787A8C #80788C #8A788C
triadic
#80788C #8C8078 #788C80
tetradic
#80788C #8C787A #848C78 #788C8A
square
#80788C #8C787A #848C78 #788C8A
split-complementary
#80788C #8C8A78 #7A8C78
monochromatic
#443F4A #625B6B #80788C #9F99A8 #BEBAC4

Accessibility & contrast

On white

4.21
#80788C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#80788C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80788C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80788C#FFFFFF#000000##000000
##80788C1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#757B8D
Deuteranopia (green-blind)
#767B8B
Tritanopia (blue-blind)
#7E7B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #80788c;
/* rgb */ color: rgb(128, 120, 140);
/* oklch */ color: oklch(58.7% 0.032 303.6);
Tailwind
colors: {
  custom: {
    50: '#a59fad',
    500: '#80788c',
    950: '#000000',
  },
}
SCSS
$custom: #80788c;
$custom-light: #a59fad;
$custom-dark: #000000;
JSON
{
  "hex": "#80788c",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 264,
    "s": 8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.0315,
    "h": 303.6
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#80788C
secondary
#B1B4AB
accent
#B1779A
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #80788C

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

Preview Lab → · Contrast checker → · Palette generator →

#80788C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva