#7A4FA4#7A4FA4

#7A4FA4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.135 H 305.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A4FA4
RGBrgb(122, 79, 164)
HSLhsl(270, 35%, 48%)
HSVhsv(270, 52%, 64%)
CMYKcmyk(25.6%, 51.8%, 0%, 35.7%)
CIE-LABlab(41.86, 35.17, -39.28)
CIE-LCHlch(41.86, 52.73, 311.83°)
OKLaboklab(51.34% 0.0787 -0.1103)
OKLCHoklch(51.34% 0.135 305.5)
XYZxyz(17.5215, 12.4100, 36.5871)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FA4 #79A44F
analogous
#504FA4 #7A4FA4 #A44FA3
triadic
#7A4FA4 #A47A4F #4FA47A
tetradic
#7A4FA4 #A4504F #79A44F #4FA3A4
square
#7A4FA4 #A4504F #79A44F #4FA3A4
split-complementary
#7A4FA4 #A3A44F #4FA450
monochromatic
#3D2751 #5B3B7B #7A4FA4 #9974BC #B79DD0

Accessibility & contrast

On white

6.03
#7A4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A4FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FA4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FA4#FFFFFF#000000##FFFFFF
##7A4FA41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#735E72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4fa4;
/* rgb */ color: rgb(122, 79, 164);
/* oklch */ color: oklch(51.3% 0.135 305.5);
Tailwind
colors: {
  custom: {
    50: '#a382bf',
    500: '#7a4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fa4;
$custom-light: #a382bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fa4",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 270.353,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.13547,
    "h": 305.5
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#7A4FA4
secondary
#A7BD92
accent
#CB5D93
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7A4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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