#7C3CC6#7C3CC6

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

Color values

HEX#7C3CC6
RGBrgb(124, 60, 198)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 70%, 78%)
CMYKcmyk(37.4%, 69.7%, 0%, 22.4%)
CIE-LABlab(40.56, 54.17, -61.36)
CIE-LCHlch(40.56, 81.86, 311.44°)
OKLaboklab(51.16% 0.1032 -0.1749)
OKLCHoklch(51.16% 0.203 300.5)
XYZxyz(20.1186, 11.5939, 54.5930)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC6 #86C63C
analogous
#3C41C6 #7C3CC6 #C13CC6
triadic
#7C3CC6 #C67C3C #3CC67C
tetradic
#7C3CC6 #C63C41 #86C63C #3CC6C1
square
#7C3CC6 #C63C41 #86C63C #3CC6C1
split-complementary
#7C3CC6 #C6C13C #41C63C
monochromatic
#411F69 #5E2D98 #7C3CC6 #9C6BD4 #BC9BE2

Accessibility & contrast

On white

6.33
#7C3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CC6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC6#FFFFFF#000000##FFFFFF
##7C3CC61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6C5D7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3cc6;
/* rgb */ color: rgb(124, 60, 198);
/* oklch */ color: oklch(51.2% 0.203 300.5);
Tailwind
colors: {
  custom: {
    50: '#a877d8',
    500: '#7c3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc6;
$custom-light: #a877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc6",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 267.826,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.20309,
    "h": 300.5
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#7C3CC6
secondary
#B1CE90
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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