#7C6A8A#7C6A8A

#7C6A8A is a mid, muted violet. Relative luminance 0.164; OKLCH L 55.3% C 0.053 H 310.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7C6A8A
RGBrgb(124, 106, 138)
HSLhsl(274, 13%, 48%)
HSVhsv(274, 23%, 54%)
CMYKcmyk(10.1%, 23.2%, 0%, 45.9%)
CIE-LABlab(47.53, 13.57, -14.95)
CIE-LCHlch(47.53, 20.19, 312.22°)
OKLaboklab(55.29% 0.0342 -0.0406)
OKLCHoklch(55.29% 0.053 310.1)
XYZxyz(18.0529, 16.4283, 26.2598)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6A8A #788A6A
analogous
#6C6A8A #7C6A8A #8A6A88
triadic
#7C6A8A #8A7C6A #6A8A7C
tetradic
#7C6A8A #8A6C6A #788A6A #6A888A
square
#7C6A8A #8A6C6A #788A6A #6A888A
split-complementary
#7C6A8A #888A6A #6A8A6C
monochromatic
#3E3545 #5D4F67 #7C6A8A #9A8BA6 #B8AEC1

Accessibility & contrast

On white

4.90
#7C6A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7C6A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6A8A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6A8A#FFFFFF#000000##FFFFFF
##7C6A8A1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65708B
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#7B6E75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c6a8a;
/* rgb */ color: rgb(124, 106, 138);
/* oklch */ color: oklch(55.3% 0.053 310.1);
Tailwind
colors: {
  custom: {
    50: '#a294ac',
    500: '#7c6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c6a8a;
$custom-light: #a294ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6a8a",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 273.75,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.05307,
    "h": 310.1
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#7C6A8A
secondary
#A7B0A0
accent
#B67290
background
#FAF9FA
surface
#F3F1F4
border
#CDCBCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7C6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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