#78728C#78728C

#78728C is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.7% C 0.040 H 295.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#78728C
RGBrgb(120, 114, 140)
HSLhsl(254, 10%, 50%)
HSVhsv(254, 19%, 55%)
CMYKcmyk(14.3%, 18.6%, 0%, 45.1%)
CIE-LABlab(49.40, 7.85, -13.34)
CIE-LCHlch(49.40, 15.48, 300.46°)
OKLaboklab(56.68% 0.0174 -0.0362)
OKLCHoklch(56.68% 0.04 295.7)
XYZxyz(18.4957, 17.9211, 27.2906)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78728C #868C72
analogous
#72798C #78728C #85728C
triadic
#78728C #8C7872 #728C78
tetradic
#78728C #8C7279 #868C72 #728C85
square
#78728C #8C7279 #868C72 #728C85
split-complementary
#78728C #8C8572 #798C72
monochromatic
#3E3B49 #5B576A #78728C #9894A8 #B9B5C3

Accessibility & contrast

On white

4.58
#78728C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#78728C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78728C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78728C#FFFFFF#000000##000000
##78728C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#74767B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78728c;
/* rgb */ color: rgb(120, 114, 140);
/* oklch */ color: oklch(56.7% 0.040 295.7);
Tailwind
colors: {
  custom: {
    50: '#9f9aad',
    500: '#78728c',
    950: '#000000',
  },
}
SCSS
$custom: #78728c;
$custom-light: #9f9aad;
$custom-dark: #000000;
JSON
{
  "hex": "#78728c",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 140
  },
  "hsl": {
    "h": 253.846,
    "s": 10.236,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.0402,
    "h": 295.7
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#78728C
secondary
#B0B3A7
accent
#B375A5
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #78728C

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

Preview Lab → · Contrast checker → · Palette generator →

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