#7A6A8A#7A6A8A

#7A6A8A is a mid, muted violet. Relative luminance 0.163; OKLCH L 55.1% C 0.052 H 307.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A6A8A
RGBrgb(122, 106, 138)
HSLhsl(270, 13%, 48%)
HSVhsv(270, 23%, 54%)
CMYKcmyk(11.6%, 23.2%, 0%, 45.9%)
CIE-LABlab(47.34, 12.87, -15.26)
CIE-LCHlch(47.34, 19.96, 310.13°)
OKLaboklab(55.1% 0.0317 -0.0415)
OKLCHoklch(55.1% 0.052 307.4)
XYZxyz(17.7667, 16.2807, 26.2463)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6A8A #7A8A6A
analogous
#6A6A8A #7A6A8A #8A6A8A
triadic
#7A6A8A #8A7A6A #6A8A7A
tetradic
#7A6A8A #8A6A6A #7A8A6A #6A8A8A
square
#7A6A8A #8A6A6A #7A8A6A #6A8A8A
split-complementary
#7A6A8A #8A8A6A #6A8A6A
monochromatic
#3D3545 #5B4F67 #7A6A8A #998BA6 #B7AEC1

Accessibility & contrast

On white

4.93
#7A6A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7A6A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6A8A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6A8A#FFFFFF#000000##FFFFFF
##7A6A8A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65708B
Deuteranopia (green-blind)
#687089
Tritanopia (blue-blind)
#786E75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a6a8a;
/* rgb */ color: rgb(122, 106, 138);
/* oklch */ color: oklch(55.1% 0.052 307.4);
Tailwind
colors: {
  custom: {
    50: '#a094ac',
    500: '#7a6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a6a8a;
$custom-light: #a094ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6a8a",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.551,
    "c": 0.05225,
    "h": 307.4
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#7A6A8A
secondary
#A8B0A0
accent
#B67294
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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