#7C3EC5#7C3EC5

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

Color values

HEX#7C3EC5
RGBrgb(124, 62, 197)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(37.1%, 68.5%, 0%, 22.7%)
CIE-LABlab(40.83, 52.97, -60.34)
CIE-LCHlch(40.83, 80.29, 311.28°)
OKLaboklab(51.33% 0.1013 -0.1719)
OKLCHoklch(51.33% 0.2 300.5)
XYZxyz(20.1104, 11.7614, 54.0232)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC5 #87C53E
analogous
#3E43C5 #7C3EC5 #C03EC5
triadic
#7C3EC5 #C57C3E #3EC57C
tetradic
#7C3EC5 #C53E43 #87C53E #3EC5C0
square
#7C3EC5 #C53E43 #87C53E #3EC5C0
split-complementary
#7C3EC5 #C5C03E #43C53E
monochromatic
#412069 #5F2E98 #7C3EC5 #9C6DD3 #BC9CE1

Accessibility & contrast

On white

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

On black

3.35
#7C3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C3EC5#FFFFFF#000000##FFFFFF
##7C3EC51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6C5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3ec5;
/* rgb */ color: rgb(124, 62, 197);
/* oklch */ color: oklch(51.3% 0.200 300.5);
Tailwind
colors: {
  custom: {
    50: '#a778d7',
    500: '#7c3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec5;
$custom-light: #a778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec5",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 267.556,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.19955,
    "h": 300.5
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#7C3EC5
secondary
#B2CD91
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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