#7C708C#7C708C

#7C708C is a mid, muted violet. Relative luminance 0.178; OKLCH L 56.6% C 0.045 H 304.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C708C
RGBrgb(124, 112, 140)
HSLhsl(266, 11%, 49%)
HSVhsv(266, 20%, 55%)
CMYKcmyk(11.4%, 20%, 0%, 45.1%)
CIE-LABlab(49.21, 10.44, -13.59)
CIE-LCHlch(49.21, 17.14, 307.53°)
OKLaboklab(56.62% 0.0253 -0.0369)
OKLCHoklch(56.62% 0.045 304.5)
XYZxyz(18.8391, 17.7669, 27.2427)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C708C #808C70
analogous
#70728C #7C708C #8A708C
triadic
#7C708C #8C7C70 #708C7C
tetradic
#7C708C #8C7072 #808C70 #708C8A
square
#7C708C #8C7072 #808C70 #708C8A
split-complementary
#7C708C #8C8A70 #728C70
monochromatic
#403A48 #5E556A #7C708C #9B92A8 #BAB4C3

Accessibility & contrast

On white

4.61
#7C708C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7C708C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C708C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C708C#FFFFFF#000000##FFFFFF
##7C708C1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758D
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#7A7479
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c708c;
/* rgb */ color: rgb(124, 112, 140);
/* oklch */ color: oklch(56.6% 0.045 304.5);
Tailwind
colors: {
  custom: {
    50: '#a299ad',
    500: '#7c708c',
    950: '#000000',
  },
}
SCSS
$custom: #7c708c;
$custom-light: #a299ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c708c",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 140
  },
  "hsl": {
    "h": 265.714,
    "s": 11.111,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.04471,
    "h": 304.5
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#7C708C
secondary
#ADB2A5
accent
#B47498
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7C708C

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

Preview Lab → · Contrast checker → · Palette generator →

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