#7C3DCE#7C3DCE

#7C3DCE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.211 H 298.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7C3DCE
RGBrgb(124, 61, 206)
HSLhsl(266, 60%, 52%)
HSVhsv(266, 70%, 81%)
CMYKcmyk(39.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(41.34, 55.68, -64.74)
CIE-LCHlch(41.34, 85.39, 310.70°)
OKLaboklab(51.9% 0.1008 -0.1849)
OKLCHoklch(51.9% 0.211 298.6)
XYZxyz(21.1187, 12.0785, 59.5993)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DCE #8FCE3D
analogous
#3D46CE #7C3DCE #C53DCE
triadic
#7C3DCE #CE7C3D #3DCE7C
tetradic
#7C3DCE #CE3D46 #8FCE3D #3DCEC5
square
#7C3DCE #CE3D46 #8FCE3D #3DCEC5
split-complementary
#7C3DCE #CEC53D #46CE3D
monochromatic
#431D73 #5F29A4 #7C3DCE #9D6EDA #BE9FE7

Accessibility & contrast

On white

6.15
#7C3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7C3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DCE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DCE#FFFFFF#000000##FFFFFF
##7C3DCE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#686181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3dce;
/* rgb */ color: rgb(124, 61, 206);
/* oklch */ color: oklch(51.9% 0.211 298.6);
Tailwind
colors: {
  custom: {
    50: '#a878de',
    500: '#7c3dce',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dce;
$custom-light: #a878de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dce",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 266.069,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.21056,
    "h": 298.6
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#7C3DCE
secondary
#B8D394
accent
#E3459E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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