#7C768E#7C768E

#7C768E is a mid, muted violet. Relative luminance 0.192; OKLCH L 58.0% C 0.037 H 296.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7C768E
RGBrgb(124, 118, 142)
HSLhsl(255, 10%, 51%)
HSVhsv(255, 17%, 56%)
CMYKcmyk(12.7%, 16.9%, 0%, 44.3%)
CIE-LABlab(50.91, 7.34, -12.20)
CIE-LCHlch(50.91, 14.23, 301.03°)
OKLaboklab(57.96% 0.0166 -0.033)
OKLCHoklch(57.96% 0.037 296.7)
XYZxyz(19.6721, 19.1949, 28.2545)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C768E #888E76
analogous
#767C8E #7C768E #88768E
triadic
#7C768E #8E7C76 #768E7C
tetradic
#7C768E #8E767C #888E76 #768E88
square
#7C768E #8E767C #888E76 #768E88
split-complementary
#7C768E #8E8876 #7C8E76
monochromatic
#413E4B #5F5A6D #7C768E #9C98AA #BCB9C5

Accessibility & contrast

On white

4.34
#7C768E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7C768E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C768E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C768E#FFFFFF#000000##000000
##7C768E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#72798D
Tritanopia (blue-blind)
#79797E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c768e;
/* rgb */ color: rgb(124, 118, 142);
/* oklch */ color: oklch(58.0% 0.037 296.7);
Tailwind
colors: {
  custom: {
    50: '#a29daf',
    500: '#7c768e',
    950: '#000000',
  },
}
SCSS
$custom: #7c768e;
$custom-light: #a29daf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c768e",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 142
  },
  "hsl": {
    "h": 255,
    "s": 9.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.03698,
    "h": 296.7
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#7C768E
secondary
#B3B5AB
accent
#B375A3
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0E10
muted
#7E7E7F

Preview Lab

Preview with #7C768E

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

Preview Lab → · Contrast checker → · Palette generator →

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