#7A4FC5#7A4FC5

#7A4FC5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.177 H 296.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7A4FC5
RGBrgb(122, 79, 197)
HSLhsl(262, 50%, 54%)
HSVhsv(262, 60%, 77%)
CMYKcmyk(38.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(43.89, 43.64, -55.41)
CIE-LCHlch(43.89, 70.54, 308.22°)
OKLaboklab(53.48% 0.0796 -0.1576)
OKLCHoklch(53.48% 0.177 296.8)
XYZxyz(20.8975, 13.7604, 54.3675)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FC5 #9AC54F
analogous
#4F5FC5 #7A4FC5 #B54FC5
triadic
#7A4FC5 #C57A4F #4FC57A
tetradic
#7A4FC5 #C54F5F #9AC54F #4FC5B5
square
#7A4FC5 #C54F5F #9AC54F #4FC5B5
split-complementary
#7A4FC5 #C5B54F #5FC54F
monochromatic
#422674 #5D35A2 #7A4FC5 #9D7DD4 #C0ABE3

Accessibility & contrast

On white

5.60
#7A4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7A4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FC5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FC5#FFFFFF#000000##FFFFFF
##7A4FC51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#686982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4fc5;
/* rgb */ color: rgb(122, 79, 197);
/* oklch */ color: oklch(53.5% 0.177 296.8);
Tailwind
colors: {
  custom: {
    50: '#a582d7',
    500: '#7a4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fc5;
$custom-light: #a582d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fc5",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 261.864,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.17651,
    "h": 296.8
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#7A4FC5
secondary
#BFD19F
accent
#DA4EA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7A4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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