#7C6C8A#7C6C8A

#7C6C8A is a mid, muted violet. Relative luminance 0.168; OKLCH L 55.7% C 0.049 H 308.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C6C8A
RGBrgb(124, 108, 138)
HSLhsl(272, 12%, 48%)
HSVhsv(272, 22%, 54%)
CMYKcmyk(10.1%, 21.7%, 0%, 45.9%)
CIE-LABlab(48.06, 12.37, -14.15)
CIE-LCHlch(48.06, 18.79, 311.18°)
OKLaboklab(55.7% 0.031 -0.0384)
OKLCHoklch(55.7% 0.049 308.9)
XYZxyz(18.2614, 16.8453, 26.3293)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6C8A #7A8A6C
analogous
#6D6C8A #7C6C8A #8A6C89
triadic
#7C6C8A #8A7C6C #6C8A7C
tetradic
#7C6C8A #8A6D6C #7A8A6C #6C898A
square
#7C6C8A #8A6D6C #7A8A6C #6C898A
split-complementary
#7C6C8A #898A6C #6C8A6D
monochromatic
#3E3645 #5D5168 #7C6C8A #9A8DA6 #B9B0C1

Accessibility & contrast

On white

4.81
#7C6C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C6C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6C8A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6C8A#FFFFFF#000000##FFFFFF
##7C6C8A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67718B
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#7A7076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c6c8a;
/* rgb */ color: rgb(124, 108, 138);
/* oklch */ color: oklch(55.7% 0.049 308.9);
Tailwind
colors: {
  custom: {
    50: '#a296ac',
    500: '#7c6c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c6c8a;
$custom-light: #a296ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6c8a",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 272,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.04931,
    "h": 308.9
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#7C6C8A
secondary
#A8B0A2
accent
#B57392
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7C6C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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