#7A6788#7A6788

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

Color values

HEX#7A6788
RGBrgb(122, 103, 136)
HSLhsl(275, 14%, 47%)
HSVhsv(275, 24%, 53%)
CMYKcmyk(10.3%, 24.3%, 0%, 46.7%)
CIE-LABlab(46.47, 14.22, -15.40)
CIE-LCHlch(46.47, 20.96, 312.71°)
OKLaboklab(54.4% 0.0359 -0.0419)
OKLCHoklch(54.4% 0.055 310.6)
XYZxyz(17.3195, 15.6158, 25.3895)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6788 #758867
analogous
#696788 #7A6788 #886786
triadic
#7A6788 #887A67 #67887A
tetradic
#7A6788 #886967 #758867 #678688
square
#7A6788 #886967 #758867 #678688
split-complementary
#7A6788 #868867 #678869
monochromatic
#3C3242 #5B4D65 #7A6788 #9888A5 #B6AABF

Accessibility & contrast

On white

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

On black

4.12
#7A6788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A6788#FFFFFF#000000##FFFFFF
##7A67881.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626D89
Deuteranopia (green-blind)
#666E87
Tritanopia (blue-blind)
#796B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6788;
/* rgb */ color: rgb(122, 103, 136);
/* oklch */ color: oklch(54.4% 0.055 310.6);
Tailwind
colors: {
  custom: {
    50: '#a092aa',
    500: '#7a6788',
    950: '#000000',
  },
}
SCSS
$custom: #7a6788;
$custom-light: #a092aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6788",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 274.545,
    "s": 13.808,
    "l": 46.863
  },
  "oklch": {
    "l": 0.544,
    "c": 0.05513,
    "h": 310.6
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#7A6788
secondary
#A4AE9D
accent
#B7718F
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6788

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

Preview Lab → · Contrast checker → · Palette generator →

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