#7C4CC5#7C4CC5

#7C4CC5 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.181 H 298.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC5
RGBrgb(124, 76, 197)
HSLhsl(264, 51%, 54%)
HSVhsv(264, 61%, 77%)
CMYKcmyk(37.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(43.48, 45.74, -56.05)
CIE-LCHlch(43.48, 72.34, 309.21°)
OKLaboklab(53.24% 0.0858 -0.1594)
OKLCHoklch(53.24% 0.181 298.3)
XYZxyz(20.9721, 13.4849, 54.3104)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC5 #95C54C
analogous
#4C58C5 #7C4CC5 #B94CC5
triadic
#7C4CC5 #C57C4C #4CC57C
tetradic
#7C4CC5 #C54C58 #95C54C #4CC5B9
square
#7C4CC5 #C54C58 #95C54C #4CC5B9
split-complementary
#7C4CC5 #C5B94C #58C54C
monochromatic
#432572 #5F34A0 #7C4CC5 #9E7AD4 #C0A8E3

Accessibility & contrast

On white

5.68
#7C4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7C4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CC5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC5#FFFFFF#000000##FFFFFF
##7C4CC51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1866C2
Tritanopia (blue-blind)
#6B6681
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4cc5;
/* rgb */ color: rgb(124, 76, 197);
/* oklch */ color: oklch(53.2% 0.181 298.3);
Tailwind
colors: {
  custom: {
    50: '#a780d7',
    500: '#7c4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc5;
$custom-light: #a780d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc5",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 263.802,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5324,
    "c": 0.18098,
    "h": 298.3
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#7C4CC5
secondary
#BCD09C
accent
#DB4DA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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