#7C4FD7#7C4FD7

#7C4FD7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.198 H 294.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7C4FD7
RGBrgb(124, 79, 215)
HSLhsl(260, 63%, 58%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(42.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(45.34, 48.87, -63.42)
CIE-LCHlch(45.34, 80.07, 307.61°)
OKLaboklab(54.98% 0.0811 -0.181)
OKLCHoklch(54.98% 0.198 294.1)
XYZxyz(23.3706, 14.7827, 65.8988)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FD7 #AAD74F
analogous
#4F66D7 #7C4FD7 #C04FD7
triadic
#7C4FD7 #D77C4F #4FD77C
tetradic
#7C4FD7 #D74F66 #AAD74F #4FD7C0
square
#7C4FD7 #D74F66 #AAD74F #4FD7C0
split-complementary
#7C4FD7 #D7C04F #66D74F
monochromatic
#44208C #5C2BBE #7C4FD7 #A181E2 #C6B3EE

Accessibility & contrast

On white

5.31
#7C4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7C4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FD7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FD7#FFFFFF#000000##FFFFFF
##7C4FD71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#636E8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4fd7;
/* rgb */ color: rgb(124, 79, 215);
/* oklch */ color: oklch(55.0% 0.198 294.1);
Tailwind
colors: {
  custom: {
    50: '#a883e4',
    500: '#7c4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fd7;
$custom-light: #a883e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fd7",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 259.853,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.19839,
    "h": 294.1
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#7C4FD7
secondary
#CADCA6
accent
#E642B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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