#7C3FC5#7C3FC5

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

Color values

HEX#7C3FC5
RGBrgb(124, 63, 197)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 68%, 77%)
CMYKcmyk(37.1%, 68%, 0%, 22.7%)
CIE-LABlab(41.01, 52.48, -60.06)
CIE-LCHlch(41.01, 79.75, 311.15°)
OKLaboklab(51.46% 0.1002 -0.1711)
OKLCHoklch(51.46% 0.198 300.4)
XYZxyz(20.1653, 11.8712, 54.0415)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC5 #88C53F
analogous
#3F45C5 #7C3FC5 #BF3FC5
triadic
#7C3FC5 #C57C3F #3FC57C
tetradic
#7C3FC5 #C53F45 #88C53F #3FC5BF
square
#7C3FC5 #C53F45 #88C53F #3FC5BF
split-complementary
#7C3FC5 #C5BF3F #45C53F
monochromatic
#41206A #5F2E99 #7C3FC5 #9C6ED3 #BC9DE1

Accessibility & contrast

On white

6.22
#7C3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7C3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC5#FFFFFF#000000##FFFFFF
##7C3FC51.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#6C5E7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3fc5;
/* rgb */ color: rgb(124, 63, 197);
/* oklch */ color: oklch(51.5% 0.198 300.4);
Tailwind
colors: {
  custom: {
    50: '#a778d7',
    500: '#7c3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc5;
$custom-light: #a778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc5",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 267.313,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.19829,
    "h": 300.4
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#7C3FC5
secondary
#B3CE92
accent
#DD4B9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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