#7C3CC3#7C3CC3

#7C3CC3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.200 H 301.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7C3CC3
RGBrgb(124, 60, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.4%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.34, 53.44, -59.98)
CIE-LCHlch(40.34, 80.33, 311.70°)
OKLaboklab(50.93% 0.1036 -0.1709)
OKLCHoklch(50.93% 0.2 301.2)
XYZxyz(19.7760, 11.4568, 52.7887)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC3 #83C33C
analogous
#3C40C3 #7C3CC3 #BF3CC3
triadic
#7C3CC3 #C37C3C #3CC37C
tetradic
#7C3CC3 #C33C40 #83C33C #3CC3BF
square
#7C3CC3 #C33C40 #83C33C #3CC3BF
split-complementary
#7C3CC3 #C3BF3C #40C33C
monochromatic
#401F65 #5E2E94 #7C3CC3 #9B6BD1 #BB9AE0

Accessibility & contrast

On white

6.38
#7C3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CC3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC3#FFFFFF#000000##FFFFFF
##7C3CC31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3cc3;
/* rgb */ color: rgb(124, 60, 195);
/* oklch */ color: oklch(50.9% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#a777d6',
    500: '#7c3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc3;
$custom-light: #a777d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc3",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 268.444,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.19984,
    "h": 301.2
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#7C3CC3
secondary
#AFCC8F
accent
#DC4B98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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