#7C4CC3#7C4CC3

#7C4CC3 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.179 H 298.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC3
RGBrgb(124, 76, 195)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 61%, 76%)
CMYKcmyk(36.4%, 61%, 0%, 23.5%)
CIE-LABlab(43.35, 45.22, -55.11)
CIE-LCHlch(43.35, 71.28, 309.37°)
OKLaboklab(53.1% 0.0859 -0.1566)
OKLCHoklch(53.1% 0.179 298.7)
XYZxyz(20.7445, 13.3939, 53.1115)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC3 #93C34C
analogous
#4C57C3 #7C4CC3 #B84CC3
triadic
#7C4CC3 #C37C4C #4CC37C
tetradic
#7C4CC3 #C34C57 #93C34C #4CC3B8
square
#7C4CC3 #C34C57 #93C34C #4CC3B8
split-complementary
#7C4CC3 #C3B84C #57C34C
monochromatic
#43256F #5F359D #7C4CC3 #9E7AD2 #BFA8E2

Accessibility & contrast

On white

5.71
#7C4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7C4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CC3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC3#FFFFFF#000000##FFFFFF
##7C4CC31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#6C6680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4cc3;
/* rgb */ color: rgb(124, 76, 195);
/* oklch */ color: oklch(53.1% 0.179 298.7);
Tailwind
colors: {
  custom: {
    50: '#a680d6',
    500: '#7c4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc3;
$custom-light: #a680d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc3",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 264.202,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.531,
    "c": 0.17858,
    "h": 298.7
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#7C4CC3
secondary
#BACF9C
accent
#D94EA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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