#7E728E#7E728E

#7E728E is a mid, muted violet. Relative luminance 0.184; OKLCH L 57.3% C 0.045 H 304.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E728E
RGBrgb(126, 114, 142)
HSLhsl(266, 11%, 50%)
HSVhsv(266, 20%, 56%)
CMYKcmyk(11.3%, 19.7%, 0%, 44.3%)
CIE-LABlab(50.01, 10.40, -13.55)
CIE-LCHlch(50.01, 17.09, 307.51°)
OKLaboklab(57.3% 0.0253 -0.0367)
OKLCHoklch(57.3% 0.045 304.5)
XYZxyz(19.5031, 18.4233, 28.1145)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E728E #828E72
analogous
#72748E #7E728E #8C728E
triadic
#7E728E #8E7E72 #728E7E
tetradic
#7E728E #8E7274 #828E72 #728E8C
square
#7E728E #8E7274 #828E72 #728E8C
split-complementary
#7E728E #8E8C72 #748E72
monochromatic
#423B4A #60576C #7E728E #9D94A9 #BCB6C4

Accessibility & contrast

On white

4.48
#7E728E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E728E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E728E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E728E#FFFFFF#000000##000000
##7E728E1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D778F
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#7C767B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e728e;
/* rgb */ color: rgb(126, 114, 142);
/* oklch */ color: oklch(57.3% 0.045 304.5);
Tailwind
colors: {
  custom: {
    50: '#a39aaf',
    500: '#7e728e',
    950: '#000000',
  },
}
SCSS
$custom: #7e728e;
$custom-light: #a39aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e728e",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 142
  },
  "hsl": {
    "h": 265.714,
    "s": 11.024,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.04459,
    "h": 304.5
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#7E728E
secondary
#AFB4A8
accent
#B47498
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E728E

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

Preview Lab → · Contrast checker → · Palette generator →

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