#7C4FCF#7C4FCF

#7C4FCF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.189 H 295.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C4FCF
RGBrgb(124, 79, 207)
HSLhsl(261, 57%, 56%)
HSVhsv(261, 62%, 81%)
CMYKcmyk(40.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.78, 46.73, -59.74)
CIE-LCHlch(44.78, 75.85, 308.03°)
OKLaboklab(54.4% 0.0817 -0.1702)
OKLCHoklch(54.4% 0.189 295.6)
XYZxyz(22.3677, 14.3816, 60.6168)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FCF #A2CF4F
analogous
#4F62CF #7C4FCF #BC4FCF
triadic
#7C4FCF #CF7C4F #4FCF7C
tetradic
#7C4FCF #CF4F62 #A2CF4F #4FCFBC
square
#7C4FCF #CF4F62 #A2CF4F #4FCFBC
split-complementary
#7C4FCF #CFBC4F #62CF4F
monochromatic
#442381 #5D30B1 #7C4FCF #A07FDC #C4AFE9

Accessibility & contrast

On white

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

On black

3.88
#7C4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C4FCF#FFFFFF#000000##FFFFFF
##7C4FCF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#676C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4fcf;
/* rgb */ color: rgb(124, 79, 207);
/* oklch */ color: oklch(54.4% 0.189 295.6);
Tailwind
colors: {
  custom: {
    50: '#a782de',
    500: '#7c4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fcf;
$custom-light: #a782de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fcf",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 261.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.18883,
    "h": 295.6
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#7C4FCF
secondary
#C5D7A2
accent
#E047AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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