#7C3FC7#7C3FC7

#7C3FC7 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.201 H 299.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC7
RGBrgb(124, 63, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 68%, 78%)
CMYKcmyk(37.7%, 68.3%, 0%, 22%)
CIE-LABlab(41.16, 52.97, -60.98)
CIE-LCHlch(41.16, 80.78, 310.98°)
OKLaboklab(51.61% 0.0999 -0.1738)
OKLCHoklch(51.61% 0.201 299.9)
XYZxyz(20.3959, 11.9634, 55.2564)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC7 #8AC73F
analogous
#3F46C7 #7C3FC7 #C03FC7
triadic
#7C3FC7 #C77C3F #3FC77C
tetradic
#7C3FC7 #C73F46 #8AC73F #3FC7C0
square
#7C3FC7 #C73F46 #8AC73F #3FC7C0
split-complementary
#7C3FC7 #C7C03F #46C73F
monochromatic
#42206C #5F2D9B #7C3FC7 #9C6ED5 #BD9EE3

Accessibility & contrast

On white

6.19
#7C3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7C3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC7#FFFFFF#000000##FFFFFF
##7C3FC71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#6B5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3fc7;
/* rgb */ color: rgb(124, 63, 199);
/* oklch */ color: oklch(51.6% 0.201 299.9);
Tailwind
colors: {
  custom: {
    50: '#a878d9',
    500: '#7c3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc7;
$custom-light: #a878d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc7",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 266.912,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.2005,
    "h": 299.9
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#7C3FC7
secondary
#B4CF93
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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