#7C3FC0#7C3FC0

#7C3FC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.193 H 301.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC0
RGBrgb(124, 63, 192)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(35.4%, 67.2%, 0%, 24.7%)
CIE-LABlab(40.65, 51.24, -57.73)
CIE-LCHlch(40.65, 77.19, 311.59°)
OKLaboklab(51.08% 0.1009 -0.1643)
OKLCHoklch(51.08% 0.193 301.6)
XYZxyz(19.6018, 11.6458, 51.0741)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC0 #83C03F
analogous
#3F43C0 #7C3FC0 #BC3FC0
triadic
#7C3FC0 #C07C3F #3FC07C
tetradic
#7C3FC0 #C03F43 #83C03F #3FC0BC
square
#7C3FC0 #C03F43 #83C03F #3FC0BC
split-complementary
#7C3FC0 #C0BC3F #43C03F
monochromatic
#402164 #5E3092 #7C3FC0 #9B6DCF #BB9BDE

Accessibility & contrast

On white

6.31
#7C3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC0#FFFFFF#000000##FFFFFF
##7C3FC01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6E5D7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3fc0;
/* rgb */ color: rgb(124, 63, 192);
/* oklch */ color: oklch(51.1% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#a778d4',
    500: '#7c3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc0;
$custom-light: #a778d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc0",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 268.372,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.19276,
    "h": 301.6
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#7C3FC0
secondary
#AFCA91
accent
#DA4E98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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