#7E708E#7E708E

#7E708E is a mid, muted violet. Relative luminance 0.180; OKLCH L 56.9% C 0.048 H 306.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E708E
RGBrgb(126, 112, 142)
HSLhsl(268, 12%, 50%)
HSVhsv(268, 21%, 56%)
CMYKcmyk(11.3%, 21.1%, 0%, 44.3%)
CIE-LABlab(49.47, 11.59, -14.37)
CIE-LCHlch(49.47, 18.46, 308.90°)
OKLaboklab(56.88% 0.0284 -0.039)
OKLCHoklch(56.88% 0.048 306.1)
XYZxyz(19.2799, 17.9770, 28.0402)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E708E #808E70
analogous
#70718E #7E708E #8D708E
triadic
#7E708E #8E7E70 #708E7E
tetradic
#7E708E #8E7071 #808E70 #708E8D
square
#7E708E #8E7071 #808E70 #708E8D
split-complementary
#7E708E #8E8D70 #718E70
monochromatic
#413A4A #60556C #7E708E #9D92A9 #BCB4C4

Accessibility & contrast

On white

4.57
#7E708E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E708E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E708E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E708E#FFFFFF#000000##000000
##7E708E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B758F
Deuteranopia (green-blind)
#6D768D
Tritanopia (blue-blind)
#7C747A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e708e;
/* rgb */ color: rgb(126, 112, 142);
/* oklch */ color: oklch(56.9% 0.048 306.1);
Tailwind
colors: {
  custom: {
    50: '#a399af',
    500: '#7e708e',
    950: '#000000',
  },
}
SCSS
$custom: #7e708e;
$custom-light: #a399af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e708e",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 142
  },
  "hsl": {
    "h": 268,
    "s": 11.811,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.04825,
    "h": 306.1
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#7E708E
secondary
#ADB4A6
accent
#B57396
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7E708E

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

Preview Lab → · Contrast checker → · Palette generator →

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