#7A6796#7A6796

#7A6796 is a mid, moderate violet. Relative luminance 0.160; OKLCH L 55.0% C 0.075 H 302.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A6796
RGBrgb(122, 103, 150)
HSLhsl(264, 19%, 50%)
HSVhsv(264, 31%, 59%)
CMYKcmyk(18.7%, 31.3%, 0%, 41.2%)
CIE-LABlab(47.03, 17.47, -22.87)
CIE-LCHlch(47.03, 28.78, 307.38°)
OKLaboklab(55.02% 0.0402 -0.063)
OKLCHoklch(55.02% 0.075 302.6)
XYZxyz(18.3802, 16.0401, 30.9760)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6796 #839667
analogous
#676C96 #7A6796 #926796
triadic
#7A6796 #967A67 #67967A
tetradic
#7A6796 #96676C #839667 #679692
square
#7A6796 #96676C #839667 #679692
split-complementary
#7A6796 #969267 #6C9667
monochromatic
#3F354D #5C4E72 #7A6796 #9A8BAF #B9AFC8

Accessibility & contrast

On white

4.99
#7A6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7A6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6796
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6796#FFFFFF#000000##FFFFFF
##7A67961.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F98
Deuteranopia (green-blind)
#616F95
Tritanopia (blue-blind)
#756E78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6796;
/* rgb */ color: rgb(122, 103, 150);
/* oklch */ color: oklch(55.0% 0.075 302.6);
Tailwind
colors: {
  custom: {
    50: '#a192b5',
    500: '#7a6796',
    950: '#000000',
  },
}
SCSS
$custom: #7a6796;
$custom-light: #a192b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6796",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 264.255,
    "s": 18.577,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.0747,
    "h": 302.6
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#7A6796
secondary
#AEB7A2
accent
#BB6D9B
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #7A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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