#7A6497#7A6497

#7A6497 is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.5% C 0.082 H 303.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7A6497
RGBrgb(122, 100, 151)
HSLhsl(266, 20%, 49%)
HSVhsv(266, 34%, 59%)
CMYKcmyk(19.2%, 33.8%, 0%, 40.8%)
CIE-LABlab(46.29, 19.52, -24.60)
CIE-LCHlch(46.29, 31.40, 308.43°)
OKLaboklab(54.47% 0.0451 -0.0679)
OKLCHoklch(54.47% 0.082 303.6)
XYZxyz(18.1680, 15.4863, 31.3042)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6497 #819764
analogous
#646897 #7A6497 #946497
triadic
#7A6497 #977A64 #64977A
tetradic
#7A6497 #976468 #819764 #649794
square
#7A6497 #976468 #819764 #649794
split-complementary
#7A6497 #979464 #689764
monochromatic
#3F334D #5C4C72 #7A6497 #9988B0 #B9ADC9

Accessibility & contrast

On white

5.13
#7A6497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7A6497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6497
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6497#FFFFFF#000000##FFFFFF
##7A64971.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#756C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6497;
/* rgb */ color: rgb(122, 100, 151);
/* oklch */ color: oklch(54.5% 0.082 303.6);
Tailwind
colors: {
  custom: {
    50: '#a190b5',
    500: '#7a6497',
    950: '#000000',
  },
}
SCSS
$custom: #7a6497;
$custom-light: #a190b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6497",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 151
  },
  "hsl": {
    "h": 265.882,
    "s": 20.319,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.0815,
    "h": 303.6
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#7A6497
secondary
#ADB7A0
accent
#BD6B9A
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #7A6497

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

Preview Lab → · Contrast checker → · Palette generator →

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