#7C4CD7#7C4CD7

#7C4CD7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.202 H 294.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C4CD7
RGBrgb(124, 76, 215)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 65%, 84%)
CMYKcmyk(42.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(44.74, 50.47, -64.38)
CIE-LCHlch(44.74, 81.80, 308.09°)
OKLaboklab(54.55% 0.0843 -0.1839)
OKLCHoklch(54.55% 0.202 294.6)
XYZxyz(23.1591, 14.3597, 65.8283)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CD7 #A7D74C
analogous
#4C62D7 #7C4CD7 #C14CD7
triadic
#7C4CD7 #D77C4C #4CD77C
tetradic
#7C4CD7 #D74C62 #A7D74C #4CD7C1
square
#7C4CD7 #D74C62 #A7D74C #4CD7C1
split-complementary
#7C4CD7 #D7C14C #62D74C
monochromatic
#441F8A #5C2ABC #7C4CD7 #A17EE2 #C5B0ED

Accessibility & contrast

On white

5.42
#7C4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7C4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CD7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CD7#FFFFFF#000000##FFFFFF
##7C4CD71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#636D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4cd7;
/* rgb */ color: rgb(124, 76, 215);
/* oklch */ color: oklch(54.6% 0.202 294.6);
Tailwind
colors: {
  custom: {
    50: '#a881e4',
    500: '#7c4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cd7;
$custom-light: #a881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cd7",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 260.719,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.20226,
    "h": 294.6
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#7C4CD7
secondary
#C8DCA3
accent
#E641AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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