#7A4E9A#7A4E9A

#7A4E9A is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.125 H 309.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7A4E9A
RGBrgb(122, 78, 154)
HSLhsl(275, 33%, 45%)
HSVhsv(275, 49%, 60%)
CMYKcmyk(20.8%, 49.4%, 0%, 39.6%)
CIE-LABlab(41.09, 33.32, -34.53)
CIE-LCHlch(41.09, 47.98, 313.97°)
OKLaboklab(50.59% 0.079 -0.0964)
OKLCHoklch(50.59% 0.125 309.3)
XYZxyz(16.5821, 11.9197, 31.9928)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E9A #6E9A4E
analogous
#544E9A #7A4E9A #9A4E94
triadic
#7A4E9A #9A7A4E #4E9A7A
tetradic
#7A4E9A #9A544E #6E9A4E #4E949A
square
#7A4E9A #9A544E #6E9A4E #4E949A
split-complementary
#7A4E9A #949A4E #4E9A54
monochromatic
#3A2549 #5A3971 #7A4E9A #986FB6 #B598CB

Accessibility & contrast

On white

6.21
#7A4E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A4E9A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E9A#FFFFFF#000000##FFFFFF
##7A4E9A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9D
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#765A6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a4e9a;
/* rgb */ color: rgb(122, 78, 154);
/* oklch */ color: oklch(50.6% 0.125 309.3);
Tailwind
colors: {
  custom: {
    50: '#a281b8',
    500: '#7a4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e9a;
$custom-light: #a281b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e9a",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 274.737,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.12467,
    "h": 309.3
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#7A4E9A
secondary
#9FB78D
accent
#C95F8C
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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