#7C4CC8#7C4CC8

#7C4CC8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.185 H 297.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7C4CC8
RGBrgb(124, 76, 200)
HSLhsl(263, 53%, 54%)
HSVhsv(263, 62%, 78%)
CMYKcmyk(38%, 62%, 0%, 21.6%)
CIE-LABlab(43.69, 46.52, -57.46)
CIE-LCHlch(43.69, 73.93, 308.99°)
OKLaboklab(53.45% 0.0856 -0.1635)
OKLCHoklch(53.45% 0.185 297.6)
XYZxyz(21.3193, 13.6238, 56.1388)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CC8 #98C84C
analogous
#4C5AC8 #7C4CC8 #BA4CC8
triadic
#7C4CC8 #C87C4C #4CC87C
tetradic
#7C4CC8 #C84C5A #98C84C #4CC8BA
square
#7C4CC8 #C84C5A #98C84C #4CC8BA
split-complementary
#7C4CC8 #C8BA4C #5AC84C
monochromatic
#442475 #5F32A4 #7C4CC8 #9E7BD6 #C1AAE5

Accessibility & contrast

On white

5.64
#7C4CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C4CC8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CC8#FFFFFF#000000##FFFFFF
##7C4CC81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0E66C5
Tritanopia (blue-blind)
#6A6783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4cc8;
/* rgb */ color: rgb(124, 76, 200);
/* oklch */ color: oklch(53.5% 0.185 297.6);
Tailwind
colors: {
  custom: {
    50: '#a780d9',
    500: '#7c4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cc8;
$custom-light: #a780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cc8",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 263.226,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.18456,
    "h": 297.6
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#7C4CC8
secondary
#BED29E
accent
#DC4BA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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