#7C3FC1#7C3FC1

#7C3FC1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.194 H 301.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC1
RGBrgb(124, 63, 193)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 67%, 76%)
CMYKcmyk(35.8%, 67.4%, 0%, 24.3%)
CIE-LABlab(40.72, 51.48, -58.20)
CIE-LCHlch(40.72, 77.70, 311.50°)
OKLaboklab(51.15% 0.1008 -0.1656)
OKLCHoklch(51.15% 0.194 301.3)
XYZxyz(19.7130, 11.6903, 51.6596)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC1 #84C13F
analogous
#3F43C1 #7C3FC1 #BD3FC1
triadic
#7C3FC1 #C17C3F #3FC17C
tetradic
#7C3FC1 #C13F43 #84C13F #3FC1BD
square
#7C3FC1 #C13F43 #84C13F #3FC1BD
split-complementary
#7C3FC1 #C1BD3F #43C13F
monochromatic
#412165 #5E3093 #7C3FC1 #9C6DD0 #BB9CDF

Accessibility & contrast

On white

6.29
#7C3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7C3FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC1#FFFFFF#000000##FFFFFF
##7C3FC11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#6D5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3fc1;
/* rgb */ color: rgb(124, 63, 193);
/* oklch */ color: oklch(51.2% 0.194 301.3);
Tailwind
colors: {
  custom: {
    50: '#a778d5',
    500: '#7c3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc1;
$custom-light: #a778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc1",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 268.154,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.19388,
    "h": 301.3
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#7C3FC1
secondary
#B0CB91
accent
#DB4D98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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