#7C3DC2#7C3DC2

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

Color values

HEX#7C3DC2
RGBrgb(124, 61, 194)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(40.44, 52.71, -59.24)
CIE-LCHlch(40.44, 79.29, 311.66°)
OKLaboklab(50.98% 0.1027 -0.1687)
OKLCHoklch(50.98% 0.198 301.3)
XYZxyz(19.7162, 11.5175, 52.2129)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC2 #83C23D
analogous
#3D40C2 #7C3DC2 #BF3DC2
triadic
#7C3DC2 #C27C3D #3DC27C
tetradic
#7C3DC2 #C23D40 #83C23D #3DC2BF
square
#7C3DC2 #C23D40 #83C23D #3DC2BF
split-complementary
#7C3DC2 #C2BF3D #40C23D
monochromatic
#402065 #5E2E93 #7C3DC2 #9B6CD1 #BB9ADF

Accessibility & contrast

On white

6.36
#7C3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC2#FFFFFF#000000##FFFFFF
##7C3DC21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6D5C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3dc2;
/* rgb */ color: rgb(124, 61, 194);
/* oklch */ color: oklch(51.0% 0.198 301.3);
Tailwind
colors: {
  custom: {
    50: '#a777d5',
    500: '#7c3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc2;
$custom-light: #a777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc2",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 268.421,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.19751,
    "h": 301.3
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#7C3DC2
secondary
#AFCB90
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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