#7C7C8E#7C7C8E

#7C7C8E is a mid, muted grey. Relative luminance 0.207; OKLCH L 59.3% C 0.027 H 285.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7C7C8E
RGBrgb(124, 124, 142)
HSLhsl(240, 7%, 52%)
HSVhsv(240, 13%, 56%)
CMYKcmyk(12.7%, 12.7%, 0%, 44.3%)
CIE-LABlab(52.57, 3.82, -9.71)
CIE-LCHlch(52.57, 10.44, 291.47°)
OKLaboklab(59.25% 0.0073 -0.0262)
OKLCHoklch(59.25% 0.027 285.5)
XYZxyz(20.4013, 20.6532, 28.4976)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C8E #8E8E7C
analogous
#7C858E #7C7C8E #857C8E
triadic
#7C7C8E #8E7C7C #7C8E7C
tetradic
#7C7C8E #8E7C85 #8E8E7C #7C8E85
square
#7C7C8E #8E7C85 #8E8E7C #7C8E85
split-complementary
#7C7C8E #8E857C #858E7C
monochromatic
#43434D #5F5F6E #7C7C8E #9D9DAA #BEBEC7

Accessibility & contrast

On white

4.09
#7C7C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7C7C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C8E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C8E#FFFFFF#000000##000000
##7C7C8E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#777D8D
Tritanopia (blue-blind)
#787F82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c7c8e;
/* rgb */ color: rgb(124, 124, 142);
/* oklch */ color: oklch(59.3% 0.027 285.5);
Tailwind
colors: {
  custom: {
    50: '#a2a1af',
    500: '#7c7c8e',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c8e;
$custom-light: #a2a1af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c8e",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.02722,
    "h": 285.5
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#7C7C8E
secondary
#B7B7AF
accent
#B077B0
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0F10
muted
#7E7E7F

Preview Lab

Preview with #7C7C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#7C7C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva