#7A6786#7A6786

#7A6786 is a mid, muted violet. Relative luminance 0.156; OKLCH L 54.3% C 0.052 H 312.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A6786
RGBrgb(122, 103, 134)
HSLhsl(277, 13%, 46%)
HSVhsv(277, 23%, 53%)
CMYKcmyk(9%, 23.1%, 0%, 47.5%)
CIE-LABlab(46.39, 13.77, -14.32)
CIE-LCHlch(46.39, 19.87, 313.88°)
OKLaboklab(54.32% 0.0352 -0.0388)
OKLCHoklch(54.32% 0.052 312.2)
XYZxyz(17.1786, 15.5595, 24.6479)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6786 #738667
analogous
#6B6786 #7A6786 #866783
triadic
#7A6786 #867A67 #67867A
tetradic
#7A6786 #866B67 #738667 #678386
square
#7A6786 #866B67 #738667 #678386
split-complementary
#7A6786 #838667 #67866B
monochromatic
#3B3241 #5A4C63 #7A6786 #9887A3 #B6AABE

Accessibility & contrast

On white

5.11
#7A6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6786
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6786#FFFFFF#000000##FFFFFF
##7A67861.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636D87
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#796B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6786;
/* rgb */ color: rgb(122, 103, 134);
/* oklch */ color: oklch(54.3% 0.052 312.2);
Tailwind
colors: {
  custom: {
    50: '#a092a9',
    500: '#7a6786',
    950: '#000000',
  },
}
SCSS
$custom: #7a6786;
$custom-light: #a092a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6786",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 276.774,
    "s": 13.08,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.05241,
    "h": 312.2
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#7A6786
secondary
#A3AD9C
accent
#B6728C
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #7A6786

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

Preview Lab → · Contrast checker → · Palette generator →

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