#7C3FC6#7C3FC6

#7C3FC6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.199 H 300.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC6
RGBrgb(124, 63, 198)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 68%, 78%)
CMYKcmyk(37.4%, 68.2%, 0%, 22.4%)
CIE-LABlab(41.08, 52.73, -60.52)
CIE-LCHlch(41.08, 80.27, 311.06°)
OKLaboklab(51.53% 0.1001 -0.1725)
OKLCHoklch(51.53% 0.199 300.1)
XYZxyz(20.2802, 11.9171, 54.6469)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC6 #89C63F
analogous
#3F45C6 #7C3FC6 #BF3FC6
triadic
#7C3FC6 #C67C3F #3FC67C
tetradic
#7C3FC6 #C63F45 #89C63F #3FC6BF
square
#7C3FC6 #C63F45 #89C63F #3FC6BF
split-complementary
#7C3FC6 #C6BF3F #45C63F
monochromatic
#42206B #5F2E9A #7C3FC6 #9C6ED4 #BC9DE2

Accessibility & contrast

On white

6.21
#7C3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7C3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC6#FFFFFF#000000##FFFFFF
##7C3FC61.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#6B5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3fc6;
/* rgb */ color: rgb(124, 63, 198);
/* oklch */ color: oklch(51.5% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#a878d8',
    500: '#7c3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc6;
$custom-light: #a878d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc6",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 267.111,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.1994,
    "h": 300.1
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#7C3FC6
secondary
#B3CE93
accent
#DE4A9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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