#7C4FCA#7C4FCA

#7C4FCA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.183 H 296.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7C4FCA
RGBrgb(124, 79, 202)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 61%, 79%)
CMYKcmyk(38.6%, 60.9%, 0%, 20.8%)
CIE-LABlab(44.43, 45.41, -57.41)
CIE-LCHlch(44.43, 73.20, 308.34°)
OKLaboklab(54.04% 0.082 -0.1634)
OKLCHoklch(54.04% 0.183 296.7)
XYZxyz(21.7661, 14.1409, 57.4484)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FCA #9DCA4F
analogous
#4F60CA #7C4FCA #B94FCA
triadic
#7C4FCA #CA7C4F #4FCA7C
tetradic
#7C4FCA #CA4F60 #9DCA4F #4FCAB9
square
#7C4FCA #CA4F60 #9DCA4F #4FCAB9
split-complementary
#7C4FCA #CAB94F #60CA4F
monochromatic
#44257A #5E33A9 #7C4FCA #9F7ED8 #C2ADE6

Accessibility & contrast

On white

5.49
#7C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FCA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FCA#FFFFFF#000000##FFFFFF
##7C4FCA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1368C7
Tritanopia (blue-blind)
#696A85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c4fca;
/* rgb */ color: rgb(124, 79, 202);
/* oklch */ color: oklch(54.0% 0.183 296.7);
Tailwind
colors: {
  custom: {
    50: '#a782db',
    500: '#7c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fca;
$custom-light: #a782db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fca",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 261.951,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.1828,
    "h": 296.7
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#7C4FCA
secondary
#C1D4A1
accent
#DD4BA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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