#7A4E99#7A4E99

#7A4E99 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.5% C 0.123 H 309.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A4E99
RGBrgb(122, 78, 153)
HSLhsl(275, 32%, 45%)
HSVhsv(275, 49%, 60%)
CMYKcmyk(20.3%, 49%, 0%, 40%)
CIE-LABlab(41.04, 33.08, -34.02)
CIE-LCHlch(41.04, 47.45, 314.20°)
OKLaboklab(50.53% 0.0789 -0.0949)
OKLCHoklch(50.53% 0.123 309.7)
XYZxyz(16.4991, 11.8865, 31.5560)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E99 #6D994E
analogous
#544E99 #7A4E99 #994E93
triadic
#7A4E99 #997A4E #4E997A
tetradic
#7A4E99 #99544E #6D994E #4E9399
square
#7A4E99 #99544E #6D994E #4E9399
split-complementary
#7A4E99 #93994E #4E9954
monochromatic
#392548 #5A3970 #7A4E99 #986FB5 #B597CA

Accessibility & contrast

On white

6.22
#7A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7A4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E99
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E99#FFFFFF#000000##FFFFFF
##7A4E991.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#765A6C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a4e99;
/* rgb */ color: rgb(122, 78, 153);
/* oklch */ color: oklch(50.5% 0.123 309.7);
Tailwind
colors: {
  custom: {
    50: '#a281b7',
    500: '#7a4e99',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e99;
$custom-light: #a281b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e99",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 275.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.12343,
    "h": 309.7
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#7A4E99
secondary
#9EB78C
accent
#C95F8B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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