#7C3DB7#7C3DB7

#7C3DB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.185 H 304.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7C3DB7
RGBrgb(124, 61, 183)
HSLhsl(271, 50%, 48%)
HSVhsv(271, 67%, 72%)
CMYKcmyk(32.2%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.65, 50.03, -54.06)
CIE-LCHlch(39.65, 73.66, 312.78°)
OKLaboklab(50.16% 0.1041 -0.1535)
OKLCHoklch(50.16% 0.185 304.2)
XYZxyz(18.5262, 11.0415, 45.9458)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DB7 #78B73D
analogous
#3F3DB7 #7C3DB7 #B73DB5
triadic
#7C3DB7 #B77C3D #3DB77C
tetradic
#7C3DB7 #B73F3D #78B73D #3DB5B7
square
#7C3DB7 #B73F3D #78B73D #3DB5B7
split-complementary
#7C3DB7 #B5B73D #3DB73F
monochromatic
#3E1E5B #5D2E89 #7C3DB7 #9A65CC #B893DB

Accessibility & contrast

On white

6.55
#7C3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3DB7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DB7#FFFFFF#000000##FFFFFF
##7C3DB71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#715875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3db7;
/* rgb */ color: rgb(124, 61, 183);
/* oklch */ color: oklch(50.2% 0.185 304.2);
Tailwind
colors: {
  custom: {
    50: '#a677cd',
    500: '#7c3db7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3db7;
$custom-light: #a677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3db7",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 270.984,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.18545,
    "h": 304.2
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#7C3DB7
secondary
#A7C689
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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