#7C4CC2#7C4CC2

#7C4CC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.177 H 299.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC2
RGBrgb(124, 76, 194)
HSLhsl(264, 49%, 53%)
HSVhsv(264, 61%, 76%)
CMYKcmyk(36.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(43.28, 44.96, -54.63)
CIE-LCHlch(43.28, 70.75, 309.45°)
OKLaboklab(53.03% 0.0859 -0.1552)
OKLCHoklch(53.03% 0.177 299)
XYZxyz(20.6318, 13.3488, 52.5181)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC2 #92C24C
analogous
#4C57C2 #7C4CC2 #B74CC2
triadic
#7C4CC2 #C27C4C #4CC27C
tetradic
#7C4CC2 #C24C57 #92C24C #4CC2B7
square
#7C4CC2 #C24C57 #92C24C #4CC2B7
split-complementary
#7C4CC2 #C2B74C #57C24C
monochromatic
#43266E #5F359C #7C4CC2 #9D7AD2 #BFA7E1

Accessibility & contrast

On white

5.72
#7C4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7C4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CC2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC2#FFFFFF#000000##FFFFFF
##7C4CC21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#6C6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4cc2;
/* rgb */ color: rgb(124, 76, 194);
/* oklch */ color: oklch(53.0% 0.177 299.0);
Tailwind
colors: {
  custom: {
    50: '#a680d5',
    500: '#7c4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc2;
$custom-light: #a680d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc2",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 264.407,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.17739,
    "h": 299
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#7C4CC2
secondary
#BACE9B
accent
#D94FA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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