#7C3CC7#7C3CC7

#7C3CC7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.204 H 300.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7C3CC7
RGBrgb(124, 60, 199)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 70%, 78%)
CMYKcmyk(37.7%, 69.8%, 0%, 22%)
CIE-LABlab(40.64, 54.42, -61.82)
CIE-LCHlch(40.64, 82.36, 311.36°)
OKLaboklab(51.24% 0.103 -0.1763)
OKLCHoklch(51.24% 0.204 300.3)
XYZxyz(20.2343, 11.6402, 55.2025)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC7 #87C73C
analogous
#3C41C7 #7C3CC7 #C13CC7
triadic
#7C3CC7 #C77C3C #3CC77C
tetradic
#7C3CC7 #C73C41 #87C73C #3CC7C1
square
#7C3CC7 #C73C41 #87C73C #3CC7C1
split-complementary
#7C3CC7 #C7C13C #41C73C
monochromatic
#411E6A #5F2C9A #7C3CC7 #9C6CD5 #BC9BE2

Accessibility & contrast

On white

6.31
#7C3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CC7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC7#FFFFFF#000000##FFFFFF
##7C3CC71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#6B5D7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3cc7;
/* rgb */ color: rgb(124, 60, 199);
/* oklch */ color: oklch(51.2% 0.204 300.3);
Tailwind
colors: {
  custom: {
    50: '#a877d9',
    500: '#7c3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc7;
$custom-light: #a877d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc7",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 267.626,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.20417,
    "h": 300.3
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#7C3CC7
secondary
#B2CE91
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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