#7C4CCD#7C4CCD

#7C4CCD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.191 H 296.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C4CCD
RGBrgb(124, 76, 205)
HSLhsl(262, 56%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(39.5%, 62.9%, 0%, 19.6%)
CIE-LABlab(44.03, 47.83, -59.79)
CIE-LCHlch(44.03, 76.57, 308.66°)
OKLaboklab(53.81% 0.0852 -0.1704)
OKLCHoklch(53.81% 0.191 296.6)
XYZxyz(21.9132, 13.8613, 59.2668)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CCD #9DCD4C
analogous
#4C5CCD #7C4CCD #BD4CCD
triadic
#7C4CCD #CD7C4C #4CCD7C
tetradic
#7C4CCD #CD4C5C #9DCD4C #4CCDBD
square
#7C4CCD #CD4C5C #9DCD4C #4CCDBD
split-complementary
#7C4CCD #CDBD4C #5CCD4C
monochromatic
#44237C #5E30AC #7C4CCD #9F7CDA #C2ACE8

Accessibility & contrast

On white

5.57
#7C4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CCD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CCD#FFFFFF#000000##FFFFFF
##7C4CCD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#686985
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c4ccd;
/* rgb */ color: rgb(124, 76, 205);
/* oklch */ color: oklch(53.8% 0.191 296.6);
Tailwind
colors: {
  custom: {
    50: '#a780dd',
    500: '#7c4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ccd;
$custom-light: #a780dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ccd",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 262.326,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.1905,
    "h": 296.6
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#7C4CCD
secondary
#C1D59F
accent
#E048A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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