#7E728C#7E728C

#7E728C is a mid, muted violet. Relative luminance 0.184; OKLCH L 57.2% C 0.042 H 306.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E728C
RGBrgb(126, 114, 140)
HSLhsl(268, 10%, 50%)
HSVhsv(268, 19%, 55%)
CMYKcmyk(10%, 18.6%, 0%, 45.1%)
CIE-LABlab(49.93, 9.96, -12.48)
CIE-LCHlch(49.93, 15.97, 308.59°)
OKLaboklab(57.22% 0.0245 -0.0338)
OKLCHoklch(57.22% 0.042 306)
XYZxyz(19.3543, 18.3638, 27.3308)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E728C #808C72
analogous
#72738C #7E728C #8B728C
triadic
#7E728C #8C7E72 #728C7E
tetradic
#7E728C #8C7273 #808C72 #728C8B
square
#7E728C #8C7273 #808C72 #728C8B
split-complementary
#7E728C #8C8B72 #738C72
monochromatic
#413B49 #60576A #7E728C #9D94A8 #BCB5C3

Accessibility & contrast

On white

4.49
#7E728C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7E728C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E728C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E728C#FFFFFF#000000##000000
##7E728C1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E768D
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#7C757B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e728c;
/* rgb */ color: rgb(126, 114, 140);
/* oklch */ color: oklch(57.2% 0.042 306.0);
Tailwind
colors: {
  custom: {
    50: '#a39aad',
    500: '#7e728c',
    950: '#000000',
  },
}
SCSS
$custom: #7e728c;
$custom-light: #a39aad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e728c",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 140
  },
  "hsl": {
    "h": 267.692,
    "s": 10.236,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.04174,
    "h": 306
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#7E728C
secondary
#ADB3A7
accent
#B37596
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E728C

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

Preview Lab → · Contrast checker → · Palette generator →

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