#7C4CC7#7C4CC7

#7C4CC7 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.183 H 297.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC7
RGBrgb(124, 76, 199)
HSLhsl(263, 52%, 54%)
HSVhsv(263, 62%, 78%)
CMYKcmyk(37.7%, 61.8%, 0%, 22%)
CIE-LABlab(43.62, 46.26, -56.99)
CIE-LCHlch(43.62, 73.40, 309.06°)
OKLaboklab(53.38% 0.0857 -0.1621)
OKLCHoklch(53.38% 0.183 297.8)
XYZxyz(21.2028, 13.5772, 55.5253)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC7 #97C74C
analogous
#4C5AC7 #7C4CC7 #BA4CC7
triadic
#7C4CC7 #C77C4C #4CC77C
tetradic
#7C4CC7 #C74C5A #97C74C #4CC7BA
square
#7C4CC7 #C74C5A #97C74C #4CC7BA
split-complementary
#7C4CC7 #C7BA4C #5AC74C
monochromatic
#442474 #5F33A3 #7C4CC7 #9E7BD6 #C0A9E4

Accessibility & contrast

On white

5.65
#7C4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7C4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC7#FFFFFF#000000##FFFFFF
##7C4CC71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#1266C4
Tritanopia (blue-blind)
#6A6782
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4cc7;
/* rgb */ color: rgb(124, 76, 199);
/* oklch */ color: oklch(53.4% 0.183 297.8);
Tailwind
colors: {
  custom: {
    50: '#a780d9',
    500: '#7c4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc7;
$custom-light: #a780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc7",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 263.415,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.18336,
    "h": 297.8
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#7C4CC7
secondary
#BDD29D
accent
#DC4CA4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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