#7C3EC1#7C3EC1

#7C3EC1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.195 H 301.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7C3EC1
RGBrgb(124, 62, 193)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(35.8%, 67.9%, 0%, 24.3%)
CIE-LABlab(40.54, 51.98, -58.49)
CIE-LCHlch(40.54, 78.24, 311.63°)
OKLaboklab(51.03% 0.1018 -0.1665)
OKLCHoklch(51.03% 0.195 301.5)
XYZxyz(19.6581, 11.5805, 51.6413)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC1 #83C13E
analogous
#3E41C1 #7C3EC1 #BE3EC1
triadic
#7C3EC1 #C17C3E #3EC17C
tetradic
#7C3EC1 #C13E41 #83C13E #3EC1BE
square
#7C3EC1 #C13E41 #83C13E #3EC1BE
split-complementary
#7C3EC1 #C1BE3E #41C13E
monochromatic
#402064 #5E2F93 #7C3EC1 #9B6CD0 #BB9BDF

Accessibility & contrast

On white

6.33
#7C3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EC1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EC1#FFFFFF#000000##FFFFFF
##7C3EC11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3ec1;
/* rgb */ color: rgb(124, 62, 193);
/* oklch */ color: oklch(51.0% 0.195 301.5);
Tailwind
colors: {
  custom: {
    50: '#a778d5',
    500: '#7c3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec1;
$custom-light: #a778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec1",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 268.397,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.19515,
    "h": 301.5
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

primary
#7C3EC1
secondary
#AFCB90
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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