#7A4FA3#7A4FA3

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

Color values

HEX#7A4FA3
RGBrgb(122, 79, 163)
HSLhsl(271, 35%, 47%)
HSVhsv(271, 52%, 64%)
CMYKcmyk(25.2%, 51.5%, 0%, 36.1%)
CIE-LABlab(41.80, 34.92, -38.78)
CIE-LCHlch(41.80, 52.18, 312.00°)
OKLaboklab(51.28% 0.0786 -0.1088)
OKLCHoklch(51.28% 0.134 305.8)
XYZxyz(17.4315, 12.3740, 36.1133)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FA3 #78A34F
analogous
#504FA3 #7A4FA3 #A34FA2
triadic
#7A4FA3 #A37A4F #4FA37A
tetradic
#7A4FA3 #A3504F #78A34F #4FA2A3
square
#7A4FA3 #A3504F #78A34F #4FA2A3
split-complementary
#7A4FA3 #A2A34F #4FA350
monochromatic
#3C2751 #5B3B7A #7A4FA3 #9874BB #B79DCF

Accessibility & contrast

On white

6.04
#7A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7A4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FA3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FA3#FFFFFF#000000##FFFFFF
##7A4FA31.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#735E71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4fa3;
/* rgb */ color: rgb(122, 79, 163);
/* oklch */ color: oklch(51.3% 0.134 305.8);
Tailwind
colors: {
  custom: {
    50: '#a381bf',
    500: '#7a4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fa3;
$custom-light: #a381bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fa3",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 270.714,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.13421,
    "h": 305.8
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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