#7A4C99#7A4C99

#7A4C99 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.127 H 310.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7A4C99
RGBrgb(122, 76, 153)
HSLhsl(276, 34%, 45%)
HSVhsv(276, 50%, 60%)
CMYKcmyk(20.3%, 50.3%, 0%, 40%)
CIE-LABlab(40.58, 34.23, -34.73)
CIE-LCHlch(40.58, 48.76, 314.59°)
OKLaboklab(50.2% 0.0818 -0.097)
OKLCHoklch(50.2% 0.127 310.2)
XYZxyz(16.3592, 11.6066, 31.5093)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C99 #6B994C
analogous
#544C99 #7A4C99 #994C91
triadic
#7A4C99 #997A4C #4C997A
tetradic
#7A4C99 #99544C #6B994C #4C9199
square
#7A4C99 #99544C #6B994C #4C9199
split-complementary
#7A4C99 #91994C #4C9954
monochromatic
#392347 #593870 #7A4C99 #986CB6 #B595CA

Accessibility & contrast

On white

6.32
#7A4C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7A4C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4C99
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4C99#FFFFFF#000000##FFFFFF
##7A4C991.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#466097
Tritanopia (blue-blind)
#76596B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a4c99;
/* rgb */ color: rgb(122, 76, 153);
/* oklch */ color: oklch(50.2% 0.127 310.2);
Tailwind
colors: {
  custom: {
    50: '#a27fb7',
    500: '#7a4c99',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c99;
$custom-light: #a27fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c99",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 275.844,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.12689,
    "h": 310.2
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#7A4C99
secondary
#9CB78A
accent
#CA5E89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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