#7C3FC3#7C3FC3

#7C3FC3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.196 H 300.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC3
RGBrgb(124, 63, 195)
HSLhsl(268, 52%, 51%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(36.4%, 67.7%, 0%, 23.5%)
CIE-LABlab(40.86, 51.98, -59.13)
CIE-LCHlch(40.86, 78.73, 311.32°)
OKLaboklab(51.31% 0.1005 -0.1684)
OKLCHoklch(51.31% 0.196 300.8)
XYZxyz(19.9376, 11.7801, 52.8426)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC3 #86C33F
analogous
#3F44C3 #7C3FC3 #BE3FC3
triadic
#7C3FC3 #C37C3F #3FC37C
tetradic
#7C3FC3 #C33F44 #86C33F #3FC3BE
square
#7C3FC3 #C33F44 #86C33F #3FC3BE
split-complementary
#7C3FC3 #C3BE3F #44C33F
monochromatic
#412067 #5E2F96 #7C3FC3 #9C6ED2 #BC9CE0

Accessibility & contrast

On white

6.26
#7C3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7C3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC3#FFFFFF#000000##FFFFFF
##7C3FC31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#6D5E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3fc3;
/* rgb */ color: rgb(124, 63, 195);
/* oklch */ color: oklch(51.3% 0.196 300.8);
Tailwind
colors: {
  custom: {
    50: '#a778d6',
    500: '#7c3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc3;
$custom-light: #a778d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc3",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 267.727,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.19608,
    "h": 300.8
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#7C3FC3
secondary
#B1CC92
accent
#DC4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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