#7A6784#7A6784

#7A6784 is a mid, muted violet. Relative luminance 0.155; OKLCH L 54.2% C 0.050 H 313.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A6784
RGBrgb(122, 103, 132)
HSLhsl(279, 12%, 46%)
HSVhsv(279, 22%, 52%)
CMYKcmyk(7.6%, 22%, 0%, 48.2%)
CIE-LABlab(46.32, 13.33, -13.24)
CIE-LCHlch(46.32, 18.78, 315.20°)
OKLaboklab(54.24% 0.0345 -0.0358)
OKLCHoklch(54.24% 0.05 313.9)
XYZxyz(17.0405, 15.5042, 23.9202)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6784 #718467
analogous
#6B6784 #7A6784 #84677F
triadic
#7A6784 #847A67 #67847A
tetradic
#7A6784 #846B67 #718467 #677F84
square
#7A6784 #846B67 #718467 #677F84
split-complementary
#7A6784 #7F8467 #67846B
monochromatic
#3A313F #5A4C62 #7A6784 #9887A1 #B6A9BC

Accessibility & contrast

On white

5.12
#7A6784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7A6784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6784
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6784#FFFFFF#000000##FFFFFF
##7A67841.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636D85
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#796A71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6784;
/* rgb */ color: rgb(122, 103, 132);
/* oklch */ color: oklch(54.2% 0.050 313.9);
Tailwind
colors: {
  custom: {
    50: '#a092a7',
    500: '#7a6784',
    950: '#000000',
  },
}
SCSS
$custom: #7a6784;
$custom-light: #a092a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6784",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 132
  },
  "hsl": {
    "h": 279.31,
    "s": 12.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.04973,
    "h": 313.9
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#7A6784
secondary
#A1AB9B
accent
#B5738A
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #7A6784

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

Preview Lab → · Contrast checker → · Palette generator →

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