#7C3EB5#7C3EB5

#7C3EB5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.182 H 304.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7C3EB5
RGBrgb(124, 62, 181)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 71%)
CMYKcmyk(31.5%, 65.7%, 0%, 29%)
CIE-LABlab(39.69, 49.05, -52.82)
CIE-LCHlch(39.69, 72.08, 312.88°)
OKLaboklab(50.15% 0.1032 -0.1498)
OKLCHoklch(50.15% 0.182 304.6)
XYZxyz(18.3734, 11.0666, 44.8752)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EB5 #77B53E
analogous
#413EB5 #7C3EB5 #B53EB2
triadic
#7C3EB5 #B57C3E #3EB57C
tetradic
#7C3EB5 #B5413E #77B53E #3EB2B5
square
#7C3EB5 #B5413E #77B53E #3EB2B5
split-complementary
#7C3EB5 #B2B53E #3EB541
monochromatic
#3E1F5A #5D2E87 #7C3EB5 #9A66CA #B893DA

Accessibility & contrast

On white

6.54
#7C3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7C3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EB5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EB5#FFFFFF#000000##FFFFFF
##7C3EB51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#725874
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3eb5;
/* rgb */ color: rgb(124, 62, 181);
/* oklch */ color: oklch(50.1% 0.182 304.6);
Tailwind
colors: {
  custom: {
    50: '#a677cc',
    500: '#7c3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eb5;
$custom-light: #a677cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eb5",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 271.261,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.1819,
    "h": 304.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#7C3EB5
secondary
#A6C589
accent
#D94F91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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