#7A4D99#7A4D99

#7A4D99 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.125 H 309.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A4D99
RGBrgb(122, 77, 153)
HSLhsl(276, 33%, 45%)
HSVhsv(276, 50%, 60%)
CMYKcmyk(20.3%, 49.7%, 0%, 40%)
CIE-LABlab(40.81, 33.66, -34.38)
CIE-LCHlch(40.81, 48.11, 314.39°)
OKLaboklab(50.36% 0.0804 -0.096)
OKLCHoklch(50.36% 0.125 309.9)
XYZxyz(16.4286, 11.7455, 31.5325)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4D99 #6C994D
analogous
#544D99 #7A4D99 #994D92
triadic
#7A4D99 #997A4D #4D997A
tetradic
#7A4D99 #99544D #6C994D #4D9299
square
#7A4D99 #99544D #6C994D #4D9299
split-complementary
#7A4D99 #92994D #4D9954
monochromatic
#392448 #5A3970 #7A4D99 #986DB6 #B596CA

Accessibility & contrast

On white

6.27
#7A4D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7A4D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4D99
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4D99#FFFFFF#000000##FFFFFF
##7A4D991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#76596C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a4d99;
/* rgb */ color: rgb(122, 77, 153);
/* oklch */ color: oklch(50.4% 0.125 309.9);
Tailwind
colors: {
  custom: {
    50: '#a280b7',
    500: '#7a4d99',
    950: '#000000',
  },
}
SCSS
$custom: #7a4d99;
$custom-light: #a280b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4d99",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 275.526,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.12516,
    "h": 309.9
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#7A4D99
secondary
#9DB78B
accent
#C95F8A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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