#7A6793#7A6793

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

Color values

HEX#7A6793
RGBrgb(122, 103, 147)
HSLhsl(266, 18%, 49%)
HSVhsv(266, 30%, 58%)
CMYKcmyk(17%, 29.9%, 0%, 42.4%)
CIE-LABlab(46.90, 16.75, -21.28)
CIE-LCHlch(46.90, 27.09, 308.21°)
OKLaboklab(54.88% 0.0393 -0.0584)
OKLCHoklch(54.88% 0.07 303.9)
XYZxyz(18.1417, 15.9447, 29.7200)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6793 #809367
analogous
#676A93 #7A6793 #906793
triadic
#7A6793 #937A67 #67937A
tetradic
#7A6793 #93676A #809367 #679390
square
#7A6793 #93676A #809367 #679390
split-complementary
#7A6793 #939067 #6A9367
monochromatic
#3E354B #5C4E6F #7A6793 #998AAD #B9AEC6

Accessibility & contrast

On white

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

On black

4.19
#7A6793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A6793#FFFFFF#000000##FFFFFF
##7A67931.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F95
Deuteranopia (green-blind)
#626F92
Tritanopia (blue-blind)
#766D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6793;
/* rgb */ color: rgb(122, 103, 147);
/* oklch */ color: oklch(54.9% 0.070 303.9);
Tailwind
colors: {
  custom: {
    50: '#a192b2',
    500: '#7a6793',
    950: '#000000',
  },
}
SCSS
$custom: #7a6793;
$custom-light: #a192b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6793",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 147
  },
  "hsl": {
    "h": 265.909,
    "s": 17.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.07045,
    "h": 303.9
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#7A6793
secondary
#ACB5A1
accent
#BA6E99
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #7A6793

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

Preview Lab → · Contrast checker → · Palette generator →

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