#7C3EC0#7C3EC0

#7C3EC0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.194 H 301.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7C3EC0
RGBrgb(124, 62, 192)
HSLhsl(269, 51%, 50%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(35.4%, 67.7%, 0%, 24.7%)
CIE-LABlab(40.47, 51.73, -58.02)
CIE-LCHlch(40.47, 77.73, 311.72°)
OKLaboklab(50.95% 0.102 -0.1651)
OKLCHoklch(50.95% 0.194 301.7)
XYZxyz(19.5470, 11.5360, 51.0558)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC0 #82C03E
analogous
#3E41C0 #7C3EC0 #BD3EC0
triadic
#7C3EC0 #C07C3E #3EC07C
tetradic
#7C3EC0 #C03E41 #82C03E #3EC0BD
square
#7C3EC0 #C03E41 #82C03E #3EC0BD
split-complementary
#7C3EC0 #C0BD3E #41C03E
monochromatic
#402063 #5E2F92 #7C3EC0 #9B6CCF #BB9ADE

Accessibility & contrast

On white

6.35
#7C3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EC0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EC0#FFFFFF#000000##FFFFFF
##7C3EC01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6E5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3ec0;
/* rgb */ color: rgb(124, 62, 192);
/* oklch */ color: oklch(51.0% 0.194 301.7);
Tailwind
colors: {
  custom: {
    50: '#a778d4',
    500: '#7c3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec0;
$custom-light: #a778d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec0",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 268.615,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.19405,
    "h": 301.7
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#7C3EC0
secondary
#AECA8F
accent
#DB4D97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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