#7C4FC6#7C4FC6

#7C4FC6 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.178 H 297.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7C4FC6
RGBrgb(124, 79, 198)
HSLhsl(263, 51%, 54%)
HSVhsv(263, 60%, 78%)
CMYKcmyk(37.4%, 60.1%, 0%, 22.4%)
CIE-LABlab(44.17, 44.36, -55.53)
CIE-LCHlch(44.17, 71.07, 308.62°)
OKLaboklab(53.76% 0.0822 -0.1578)
OKLCHoklch(53.76% 0.178 297.5)
XYZxyz(21.2986, 13.9540, 54.9864)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FC6 #99C64F
analogous
#4F5EC6 #7C4FC6 #B84FC6
triadic
#7C4FC6 #C67C4F #4FC67C
tetradic
#7C4FC6 #C64F5E #99C64F #4FC6B8
square
#7C4FC6 #C64F5E #99C64F #4FC6B8
split-complementary
#7C4FC6 #C6B84F #5EC64F
monochromatic
#442675 #5E35A3 #7C4FC6 #9E7DD5 #C1ABE4

Accessibility & contrast

On white

5.54
#7C4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7C4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FC6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FC6#FFFFFF#000000##FFFFFF
##7C4FC61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#6B6983
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4fc6;
/* rgb */ color: rgb(124, 79, 198);
/* oklch */ color: oklch(53.8% 0.178 297.5);
Tailwind
colors: {
  custom: {
    50: '#a782d8',
    500: '#7c4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fc6;
$custom-light: #a782d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fc6",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 262.689,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.17795,
    "h": 297.5
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#7C4FC6
secondary
#BFD29F
accent
#DB4DA5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7C4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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