#7F748E#7F748E

#7F748E is a mid, muted violet. Relative luminance 0.190; OKLCH L 57.8% C 0.041 H 304.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F748E
RGBrgb(127, 116, 142)
HSLhsl(265, 10%, 51%)
HSVhsv(265, 18%, 56%)
CMYKcmyk(10.6%, 18.3%, 0%, 44.3%)
CIE-LABlab(50.64, 9.57, -12.59)
CIE-LCHlch(50.64, 15.82, 307.25°)
OKLaboklab(57.81% 0.0233 -0.0341)
OKLCHoklch(57.81% 0.041 304.3)
XYZxyz(19.8794, 18.9558, 28.1975)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F748E #838E74
analogous
#74768E #7F748E #8C748E
triadic
#7F748E #8E7F74 #748E7F
tetradic
#7F748E #8E7476 #838E74 #748E8C
square
#7F748E #8E7476 #838E74 #748E8C
split-complementary
#7F748E #8E8C74 #768E74
monochromatic
#433D4B #61586D #7F748E #9E96A9 #BDB8C5

Accessibility & contrast

On white

4.38
#7F748E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7F748E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F748E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F748E#FFFFFF#000000##000000
##7F748E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788F
Deuteranopia (green-blind)
#71798D
Tritanopia (blue-blind)
#7D777D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f748e;
/* rgb */ color: rgb(127, 116, 142);
/* oklch */ color: oklch(57.8% 0.041 304.3);
Tailwind
colors: {
  custom: {
    50: '#a49caf',
    500: '#7f748e',
    950: '#000000',
  },
}
SCSS
$custom: #7f748e;
$custom-light: #a49caf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f748e",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 142
  },
  "hsl": {
    "h": 265.385,
    "s": 10.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.04127,
    "h": 304.3
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#7F748E
secondary
#B0B5A9
accent
#B37599
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7F748E

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

Preview Lab → · Contrast checker → · Palette generator →

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