#7E708A#7E708A

#7E708A is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.7% C 0.043 H 309.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E708A
RGBrgb(126, 112, 138)
HSLhsl(272, 10%, 49%)
HSVhsv(272, 19%, 54%)
CMYKcmyk(8.7%, 18.8%, 0%, 45.9%)
CIE-LABlab(49.32, 10.70, -12.22)
CIE-LCHlch(49.32, 16.25, 311.22°)
OKLaboklab(56.72% 0.027 -0.033)
OKLCHoklch(56.72% 0.043 309.3)
XYZxyz(18.9850, 17.8591, 26.4868)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E708A #7C8A70
analogous
#71708A #7E708A #8A7089
triadic
#7E708A #8A7E70 #708A7E
tetradic
#7E708A #8A7170 #7C8A70 #70898A
square
#7E708A #8A7170 #7C8A70 #70898A
split-complementary
#7E708A #898A70 #708A71
monochromatic
#403946 #5F5568 #7E708A #9C91A6 #BBB3C1

Accessibility & contrast

On white

4.59
#7E708A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E708A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E708A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E708A#FFFFFF#000000##FFFFFF
##7E708A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#6F7589
Tritanopia (blue-blind)
#7D7379
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e708a;
/* rgb */ color: rgb(126, 112, 138);
/* oklch */ color: oklch(56.7% 0.043 309.3);
Tailwind
colors: {
  custom: {
    50: '#a399ac',
    500: '#7e708a',
    950: '#000000',
  },
}
SCSS
$custom: #7e708a;
$custom-light: #a399ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e708a",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 138
  },
  "hsl": {
    "h": 272.308,
    "s": 10.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.04265,
    "h": 309.3
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#7E708A
secondary
#AAB1A5
accent
#B37491
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7E708A

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

Preview Lab → · Contrast checker → · Palette generator →

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