#7A6789#7A6789

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

Color values

HEX#7A6789
RGBrgb(122, 103, 137)
HSLhsl(274, 14%, 47%)
HSVhsv(274, 25%, 54%)
CMYKcmyk(10.9%, 24.8%, 0%, 46.3%)
CIE-LABlab(46.50, 14.44, -15.94)
CIE-LCHlch(46.50, 21.51, 312.17°)
OKLaboklab(54.44% 0.0362 -0.0434)
OKLCHoklch(54.44% 0.056 309.9)
XYZxyz(17.3909, 15.6444, 25.7656)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6789 #768967
analogous
#696789 #7A6789 #896787
triadic
#7A6789 #897A67 #67897A
tetradic
#7A6789 #896967 #768967 #678789
square
#7A6789 #896967 #768967 #678789
split-complementary
#7A6789 #878967 #678969
monochromatic
#3C3243 #5B4D66 #7A6789 #9888A5 #B6ABC0

Accessibility & contrast

On white

5.09
#7A6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7A6789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6789
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6789#FFFFFF#000000##FFFFFF
##7A67891.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626D8A
Deuteranopia (green-blind)
#656F88
Tritanopia (blue-blind)
#786B73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6789;
/* rgb */ color: rgb(122, 103, 137);
/* oklch */ color: oklch(54.4% 0.056 309.9);
Tailwind
colors: {
  custom: {
    50: '#a092ab',
    500: '#7a6789',
    950: '#000000',
  },
}
SCSS
$custom: #7a6789;
$custom-light: #a092ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6789",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 273.529,
    "s": 14.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.05649,
    "h": 309.9
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#7A6789
secondary
#A5AF9D
accent
#B77190
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6789

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

Preview Lab → · Contrast checker → · Palette generator →

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