#7A6787#7A6787

#7A6787 is a mid, muted violet. Relative luminance 0.156; OKLCH L 54.4% C 0.054 H 311.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A6787
RGBrgb(122, 103, 135)
HSLhsl(276, 13%, 47%)
HSVhsv(276, 24%, 53%)
CMYKcmyk(9.6%, 23.7%, 0%, 47.1%)
CIE-LABlab(46.43, 13.99, -14.86)
CIE-LCHlch(46.43, 20.41, 313.27°)
OKLaboklab(54.36% 0.0355 -0.0403)
OKLCHoklch(54.36% 0.054 311.4)
XYZxyz(17.2487, 15.5875, 25.0170)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6787 #748767
analogous
#6A6787 #7A6787 #876784
triadic
#7A6787 #877A67 #67877A
tetradic
#7A6787 #876A67 #748767 #678487
square
#7A6787 #876A67 #748767 #678487
split-complementary
#7A6787 #848767 #67876A
monochromatic
#3B3242 #5B4D64 #7A6787 #9887A4 #B6AABE

Accessibility & contrast

On white

5.10
#7A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6787
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6787#FFFFFF#000000##FFFFFF
##7A67871.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626D88
Deuteranopia (green-blind)
#666E86
Tritanopia (blue-blind)
#796B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6787;
/* rgb */ color: rgb(122, 103, 135);
/* oklch */ color: oklch(54.4% 0.054 311.4);
Tailwind
colors: {
  custom: {
    50: '#a092aa',
    500: '#7a6787',
    950: '#000000',
  },
}
SCSS
$custom: #7a6787;
$custom-light: #a092aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6787",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 275.625,
    "s": 13.445,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.05376,
    "h": 311.4
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#7A6787
secondary
#A3AD9C
accent
#B6728D
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6787

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

Preview Lab → · Contrast checker → · Palette generator →

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