#7A6782#7A6782

#7A6782 is a mid, muted purple. Relative luminance 0.154; OKLCH L 54.2% C 0.047 H 315.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7A6782
RGBrgb(122, 103, 130)
HSLhsl(282, 12%, 46%)
HSVhsv(282, 21%, 51%)
CMYKcmyk(6.2%, 20.8%, 0%, 49%)
CIE-LABlab(46.24, 12.89, -12.15)
CIE-LCHlch(46.24, 17.71, 316.70°)
OKLaboklab(54.16% 0.0338 -0.0328)
OKLCHoklch(54.16% 0.047 315.9)
XYZxyz(16.9049, 15.4500, 23.2064)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6782 #6F8267
analogous
#6C6782 #7A6782 #82677C
triadic
#7A6782 #827A67 #67827A
tetradic
#7A6782 #826C67 #6F8267 #677C82
square
#7A6782 #826C67 #6F8267 #677C82
split-complementary
#7A6782 #7C8267 #67826C
monochromatic
#3A313E #5A4C60 #7A6782 #9887A0 #B5A9BB

Accessibility & contrast

On white

5.13
#7A6782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7A6782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6782
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6782#FFFFFF#000000##FFFFFF
##7A67821.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646C83
Deuteranopia (green-blind)
#686E81
Tritanopia (blue-blind)
#7A6A70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6782;
/* rgb */ color: rgb(122, 103, 130);
/* oklch */ color: oklch(54.2% 0.047 315.9);
Tailwind
colors: {
  custom: {
    50: '#a092a6',
    500: '#7a6782',
    950: '#000000',
  },
}
SCSS
$custom: #7a6782;
$custom-light: #a092a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6782",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 282.222,
    "s": 11.588,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.04711,
    "h": 315.9
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#7A6782
secondary
#9FAA9B
accent
#B47387
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7D7F

Preview Lab

Preview with #7A6782

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

Preview Lab → · Contrast checker → · Palette generator →

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