#787487#787487

#787487 is a mid, muted grey. Relative luminance 0.182; OKLCH L 56.9% C 0.029 H 295.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#787487
RGBrgb(120, 116, 135)
HSLhsl(253, 8%, 49%)
HSVhsv(253, 14%, 53%)
CMYKcmyk(11.1%, 14.1%, 0%, 47.1%)
CIE-LABlab(49.78, 5.53, -9.82)
CIE-LCHlch(49.78, 11.27, 299.37°)
OKLaboklab(56.91% 0.0124 -0.0265)
OKLCHoklch(56.91% 0.029 295.1)
XYZxyz(18.3634, 18.2331, 25.4689)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787487 #838774
analogous
#747A87 #787487 #827487
triadic
#787487 #877874 #748778
tetradic
#787487 #87747A #838774 #748782
square
#787487 #87747A #838774 #748782
split-complementary
#787487 #878274 #7A8774
monochromatic
#3D3B45 #5B5866 #787487 #9895A4 #B8B6C0

Accessibility & contrast

On white

4.52
#787487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#787487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787487
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787487#FFFFFF#000000##000000
##7874871.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#717686
Tritanopia (blue-blind)
#75777A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787487;
/* rgb */ color: rgb(120, 116, 135);
/* oklch */ color: oklch(56.9% 0.029 295.1);
Tailwind
colors: {
  custom: {
    50: '#9f9caa',
    500: '#787487',
    950: '#000000',
  },
}
SCSS
$custom: #787487;
$custom-light: #9f9caa;
$custom-dark: #000000;
JSON
{
  "hex": "#787487",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 135
  },
  "hsl": {
    "h": 252.632,
    "s": 7.57,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.02927,
    "h": 295.1
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#787487
secondary
#AEB0A7
accent
#B177A5
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #787487

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

Preview Lab → · Contrast checker → · Palette generator →

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