#7A6792#7A6792

#7A6792 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 54.8% C 0.069 H 304.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7A6792
RGBrgb(122, 103, 146)
HSLhsl(267, 17%, 49%)
HSVhsv(267, 29%, 57%)
CMYKcmyk(16.4%, 29.5%, 0%, 42.7%)
CIE-LABlab(46.86, 16.52, -20.75)
CIE-LCHlch(46.86, 26.52, 308.52°)
OKLaboklab(54.83% 0.039 -0.0569)
OKLCHoklch(54.83% 0.069 304.4)
XYZxyz(18.0636, 15.9134, 29.3085)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6792 #7F9267
analogous
#676A92 #7A6792 #906792
triadic
#7A6792 #927A67 #67927A
tetradic
#7A6792 #92676A #7F9267 #679290
square
#7A6792 #92676A #7F9267 #679290
split-complementary
#7A6792 #929067 #6A9267
monochromatic
#3E344A #5C4E6E #7A6792 #998AAC #B8AEC6

Accessibility & contrast

On white

5.02
#7A6792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7A6792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6792
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6792#FFFFFF#000000##FFFFFF
##7A67921.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6F94
Deuteranopia (green-blind)
#626F91
Tritanopia (blue-blind)
#766D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6792;
/* rgb */ color: rgb(122, 103, 146);
/* oklch */ color: oklch(54.8% 0.069 304.4);
Tailwind
colors: {
  custom: {
    50: '#a192b2',
    500: '#7a6792',
    950: '#000000',
  },
}
SCSS
$custom: #7a6792;
$custom-light: #a192b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6792",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 146
  },
  "hsl": {
    "h": 266.512,
    "s": 17.269,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.06904,
    "h": 304.4
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#7A6792
secondary
#ACB5A0
accent
#BA6E98
background
#F9F9FA
surface
#F2F1F5
border
#CCCBCF
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #7A6792

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

Preview Lab → · Contrast checker → · Palette generator →

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