#7A6785#7A6785

#7A6785 is a mid, muted violet. Relative luminance 0.155; OKLCH L 54.3% C 0.051 H 313.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A6785
RGBrgb(122, 103, 133)
HSLhsl(278, 13%, 46%)
HSVhsv(278, 23%, 52%)
CMYKcmyk(8.3%, 22.6%, 0%, 47.8%)
CIE-LABlab(46.35, 13.55, -13.78)
CIE-LCHlch(46.35, 19.32, 314.52°)
OKLaboklab(54.28% 0.0349 -0.0373)
OKLCHoklch(54.28% 0.051 313)
XYZxyz(17.1092, 15.5317, 24.2824)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6785 #728567
analogous
#6B6785 #7A6785 #856781
triadic
#7A6785 #857A67 #67857A
tetradic
#7A6785 #856B67 #728567 #678185
square
#7A6785 #856B67 #728567 #678185
split-complementary
#7A6785 #818567 #67856B
monochromatic
#3B3240 #5A4C63 #7A6785 #9887A2 #B6AABD

Accessibility & contrast

On white

5.11
#7A6785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A6785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6785
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6785#FFFFFF#000000##FFFFFF
##7A67851.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636D86
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#796B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6785;
/* rgb */ color: rgb(122, 103, 133);
/* oklch */ color: oklch(54.3% 0.051 313.0);
Tailwind
colors: {
  custom: {
    50: '#a092a8',
    500: '#7a6785',
    950: '#000000',
  },
}
SCSS
$custom: #7a6785;
$custom-light: #a092a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6785",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 278,
    "s": 12.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.05107,
    "h": 313
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#7A6785
secondary
#A2AC9C
accent
#B6728B
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #7A6785

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

Preview Lab → · Contrast checker → · Palette generator →

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