#7E6C8A#7E6C8A

#7E6C8A is a mid, muted violet. Relative luminance 0.170; OKLCH L 55.9% C 0.050 H 311.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E6C8A
RGBrgb(126, 108, 138)
HSLhsl(276, 12%, 48%)
HSVhsv(276, 22%, 54%)
CMYKcmyk(8.7%, 21.7%, 0%, 45.9%)
CIE-LABlab(48.25, 13.08, -13.84)
CIE-LCHlch(48.25, 19.04, 313.39°)
OKLaboklab(55.9% 0.0334 -0.0375)
OKLCHoklch(55.9% 0.05 311.7)
XYZxyz(18.5534, 16.9959, 26.3430)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C8A #788A6C
analogous
#6F6C8A #7E6C8A #8A6C87
triadic
#7E6C8A #8A7E6C #6C8A7E
tetradic
#7E6C8A #8A6F6C #788A6C #6C878A
square
#7E6C8A #8A6F6C #788A6C #6C878A
split-complementary
#7E6C8A #878A6C #6C8A6F
monochromatic
#3F3645 #5F5168 #7E6C8A #9C8DA6 #BAB0C1

Accessibility & contrast

On white

4.77
#7E6C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7E6C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6C8A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C8A#FFFFFF#000000##FFFFFF
##7E6C8A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68728B
Deuteranopia (green-blind)
#6B7389
Tritanopia (blue-blind)
#7D7076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e6c8a;
/* rgb */ color: rgb(126, 108, 138);
/* oklch */ color: oklch(55.9% 0.050 311.7);
Tailwind
colors: {
  custom: {
    50: '#a396ac',
    500: '#7e6c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c8a;
$custom-light: #a396ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c8a",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 276,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.0502,
    "h": 311.7
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#7E6C8A
secondary
#A7B0A2
accent
#B5738D
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7E6C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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