#7C4FD5#7C4FD5

#7C4FD5 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.196 H 294.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C4FD5
RGBrgb(124, 79, 213)
HSLhsl(260, 61%, 57%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(41.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(45.19, 48.33, -62.51)
CIE-LCHlch(45.19, 79.02, 307.71°)
OKLaboklab(54.83% 0.0813 -0.1784)
OKLCHoklch(54.83% 0.196 294.5)
XYZxyz(23.1152, 14.6806, 64.5536)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FD5 #A8D54F
analogous
#4F65D5 #7C4FD5 #BF4FD5
triadic
#7C4FD5 #D57C4F #4FD57C
tetradic
#7C4FD5 #D54F65 #A8D54F #4FD5BF
square
#7C4FD5 #D54F65 #A8D54F #4FD5BF
split-complementary
#7C4FD5 #D5BF4F #65D54F
monochromatic
#442189 #5C2CBA #7C4FD5 #A180E1 #C6B2ED

Accessibility & contrast

On white

5.34
#7C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7C4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FD5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FD5#FFFFFF#000000##FFFFFF
##7C4FD51.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#646E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4fd5;
/* rgb */ color: rgb(124, 79, 213);
/* oklch */ color: oklch(54.8% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#a883e3',
    500: '#7c4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fd5;
$custom-light: #a883e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fd5",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 260.149,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.19601,
    "h": 294.5
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#7C4FD5
secondary
#C9DBA5
accent
#E543AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7C4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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