#7C4CC4#7C4CC4

#7C4CC4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.180 H 298.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC4
RGBrgb(124, 76, 196)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 61%, 77%)
CMYKcmyk(36.7%, 61.2%, 0%, 23.1%)
CIE-LABlab(43.42, 45.48, -55.58)
CIE-LCHlch(43.42, 71.81, 309.29°)
OKLaboklab(53.17% 0.0858 -0.158)
OKLCHoklch(53.17% 0.18 298.5)
XYZxyz(20.8579, 13.4392, 53.7090)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC4 #94C44C
analogous
#4C58C4 #7C4CC4 #B84CC4
triadic
#7C4CC4 #C47C4C #4CC47C
tetradic
#7C4CC4 #C44C58 #94C44C #4CC4B8
square
#7C4CC4 #C44C58 #94C44C #4CC4B8
split-complementary
#7C4CC4 #C4B84C #58C44C
monochromatic
#432571 #5F349F #7C4CC4 #9E7AD3 #BFA8E2

Accessibility & contrast

On white

5.69
#7C4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CC4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC4#FFFFFF#000000##FFFFFF
##7C4CC41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#6C6681
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4cc4;
/* rgb */ color: rgb(124, 76, 196);
/* oklch */ color: oklch(53.2% 0.180 298.5);
Tailwind
colors: {
  custom: {
    50: '#a780d7',
    500: '#7c4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc4;
$custom-light: #a780d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc4",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 264,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5317,
    "c": 0.17978,
    "h": 298.5
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#7C4CC4
secondary
#BBD09C
accent
#DA4EA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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