#7E718B#7E718B

#7E718B is a mid, muted violet. Relative luminance 0.181; OKLCH L 57.0% C 0.042 H 307.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E718B
RGBrgb(126, 113, 139)
HSLhsl(270, 10%, 49%)
HSVhsv(270, 19%, 55%)
CMYKcmyk(9.4%, 18.7%, 0%, 45.5%)
CIE-LABlab(49.63, 10.33, -12.35)
CIE-LCHlch(49.63, 16.10, 309.91°)
OKLaboklab(56.97% 0.0258 -0.0334)
OKLCHoklch(56.97% 0.042 307.6)
XYZxyz(19.1687, 18.1100, 26.9068)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E718B #7E8B71
analogous
#71718B #7E718B #8B718B
triadic
#7E718B #8B7E71 #718B7E
tetradic
#7E718B #8B7171 #7E8B71 #718B8B
square
#7E718B #8B7171 #7E8B71 #718B8B
split-complementary
#7E718B #8B8B71 #718B71
monochromatic
#413A47 #5F5669 #7E718B #9D92A7 #BBB4C2

Accessibility & contrast

On white

4.54
#7E718B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7E718B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E718B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E718B#FFFFFF#000000##000000
##7E718B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e718b;
/* rgb */ color: rgb(126, 113, 139);
/* oklch */ color: oklch(57.0% 0.042 307.6);
Tailwind
colors: {
  custom: {
    50: '#a399ad',
    500: '#7e718b',
    950: '#000000',
  },
}
SCSS
$custom: #7e718b;
$custom-light: #a399ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e718b",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 139
  },
  "hsl": {
    "h": 270,
    "s": 10.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.04218,
    "h": 307.6
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#7E718B
secondary
#ACB2A6
accent
#B37594
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E718B

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

Preview Lab → · Contrast checker → · Palette generator →

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