#7C3DC3#7C3DC3

#7C3DC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.199 H 301.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7C3DC3
RGBrgb(124, 61, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.4%, 68.7%, 0%, 23.5%)
CIE-LABlab(40.51, 52.96, -59.70)
CIE-LCHlch(40.51, 79.80, 311.57°)
OKLaboklab(51.05% 0.1026 -0.17)
OKLCHoklch(51.05% 0.199 301.1)
XYZxyz(19.8289, 11.5626, 52.8063)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC3 #84C33D
analogous
#3D41C3 #7C3DC3 #BF3DC3
triadic
#7C3DC3 #C37C3D #3DC37C
tetradic
#7C3DC3 #C33D41 #84C33D #3DC3BF
square
#7C3DC3 #C33D41 #84C33D #3DC3BF
split-complementary
#7C3DC3 #C3BF3D #41C33D
monochromatic
#412066 #5E2E95 #7C3DC3 #9C6CD1 #BB9AE0

Accessibility & contrast

On white

6.34
#7C3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC3#FFFFFF#000000##FFFFFF
##7C3DC31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3dc3;
/* rgb */ color: rgb(124, 61, 195);
/* oklch */ color: oklch(51.1% 0.199 301.1);
Tailwind
colors: {
  custom: {
    50: '#a777d6',
    500: '#7c3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc3;
$custom-light: #a777d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc3",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 268.209,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51053,
    "c": 0.1986,
    "h": 301.1
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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