#7A6794#7A6794

#7A6794 is a mid, moderate violet. Relative luminance 0.160; OKLCH L 54.9% C 0.072 H 303.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A6794
RGBrgb(122, 103, 148)
HSLhsl(265, 18%, 49%)
HSVhsv(265, 30%, 58%)
CMYKcmyk(17.6%, 30.4%, 0%, 42%)
CIE-LABlab(46.94, 16.99, -21.81)
CIE-LCHlch(46.94, 27.65, 307.92°)
OKLaboklab(54.92% 0.0396 -0.06)
OKLCHoklch(54.92% 0.072 303.5)
XYZxyz(18.2205, 15.9762, 30.1351)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6794 #819467
analogous
#676B94 #7A6794 #916794
triadic
#7A6794 #947A67 #67947A
tetradic
#7A6794 #94676B #819467 #679491
square
#7A6794 #94676B #819467 #679491
split-complementary
#7A6794 #949167 #6B9467
monochromatic
#3F354C #5C4E70 #7A6794 #998AAE #B9AEC7

Accessibility & contrast

On white

5.01
#7A6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6794
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6794#FFFFFF#000000##FFFFFF
##7A67941.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F96
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#766E77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6794;
/* rgb */ color: rgb(122, 103, 148);
/* oklch */ color: oklch(54.9% 0.072 303.5);
Tailwind
colors: {
  custom: {
    50: '#a192b3',
    500: '#7a6794',
    950: '#000000',
  },
}
SCSS
$custom: #7a6794;
$custom-light: #a192b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6794",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 265.333,
    "s": 17.928,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.07187,
    "h": 303.5
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#7A6794
secondary
#ADB6A1
accent
#BB6D9A
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #7A6794

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

Preview Lab → · Contrast checker → · Palette generator →

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