#7E768C#7E768C

#7E768C is a mid, muted violet. Relative luminance 0.193; OKLCH L 58.1% C 0.034 H 301.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E768C
RGBrgb(126, 118, 140)
HSLhsl(262, 9%, 51%)
HSVhsv(262, 16%, 55%)
CMYKcmyk(10%, 15.7%, 0%, 45.1%)
CIE-LABlab(51.02, 7.60, -10.85)
CIE-LCHlch(51.02, 13.24, 305.01°)
OKLaboklab(58.06% 0.0182 -0.0293)
OKLCHoklch(58.06% 0.034 301.9)
XYZxyz(19.8153, 19.2859, 27.4845)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E768C #848C76
analogous
#76798C #7E768C #89768C
triadic
#7E768C #8C7E76 #768C7E
tetradic
#7E768C #8C7679 #848C76 #768C89
square
#7E768C #8C7679 #848C76 #768C89
split-complementary
#7E768C #8C8976 #798C76
monochromatic
#423E4A #605A6B #7E768C #9D97A8 #BDB9C4

Accessibility & contrast

On white

4.32
#7E768C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7E768C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E768C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E768C#FFFFFF#000000##000000
##7E768C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798D
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#7C797D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e768c;
/* rgb */ color: rgb(126, 118, 140);
/* oklch */ color: oklch(58.1% 0.034 301.9);
Tailwind
colors: {
  custom: {
    50: '#a39dad',
    500: '#7e768c',
    950: '#000000',
  },
}
SCSS
$custom: #7e768c;
$custom-light: #a39dad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e768c",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 140
  },
  "hsl": {
    "h": 261.818,
    "s": 8.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.03449,
    "h": 301.9
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#7E768C
secondary
#B0B4AA
accent
#B2769C
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E768C

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

Preview Lab → · Contrast checker → · Palette generator →

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