#7E708C#7E708C

#7E708C is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.8% C 0.045 H 307.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7E708C
RGBrgb(126, 112, 140)
HSLhsl(270, 11%, 49%)
HSVhsv(270, 20%, 55%)
CMYKcmyk(10%, 20%, 0%, 45.1%)
CIE-LABlab(49.40, 11.15, -13.30)
CIE-LCHlch(49.40, 17.35, 309.97°)
OKLaboklab(56.8% 0.0277 -0.036)
OKLCHoklch(56.8% 0.045 307.6)
XYZxyz(19.1311, 17.9175, 27.2564)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E708C #7E8C70
analogous
#70708C #7E708C #8C708C
triadic
#7E708C #8C7E70 #708C7E
tetradic
#7E708C #8C7070 #7E8C70 #708C8C
square
#7E708C #8C7070 #7E8C70 #708C8C
split-complementary
#7E708C #8C8C70 #708C70
monochromatic
#413A48 #5F556A #7E708C #9D92A8 #BBB4C3

Accessibility & contrast

On white

4.58
#7E708C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7E708C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E708C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E708C#FFFFFF#000000##000000
##7E708C1.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)
#6C758D
Deuteranopia (green-blind)
#6E768B
Tritanopia (blue-blind)
#7C7479
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e708c;
/* rgb */ color: rgb(126, 112, 140);
/* oklch */ color: oklch(56.8% 0.045 307.6);
Tailwind
colors: {
  custom: {
    50: '#a399ad',
    500: '#7e708c',
    950: '#000000',
  },
}
SCSS
$custom: #7e708c;
$custom-light: #a399ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e708c",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 11.111,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.04544,
    "h": 307.6
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#7E708C
secondary
#ACB2A5
accent
#B47494
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7E708C

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

Preview Lab → · Contrast checker → · Palette generator →

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