#7C3CC4#7C3CC4

#7C3CC4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.201 H 301.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7C3CC4
RGBrgb(124, 60, 196)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(36.7%, 69.4%, 0%, 23.1%)
CIE-LABlab(40.41, 53.68, -60.44)
CIE-LCHlch(40.41, 80.84, 311.61°)
OKLaboklab(51.01% 0.1035 -0.1722)
OKLCHoklch(51.01% 0.201 301)
XYZxyz(19.8894, 11.5022, 53.3861)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC4 #84C43C
analogous
#3C40C4 #7C3CC4 #C03CC4
triadic
#7C3CC4 #C47C3C #3CC47C
tetradic
#7C3CC4 #C43C40 #84C43C #3CC4C0
square
#7C3CC4 #C43C40 #84C43C #3CC4C0
split-complementary
#7C3CC4 #C4C03C #40C43C
monochromatic
#411F67 #5E2D96 #7C3CC4 #9C6BD2 #BB9AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C3CC4#FFFFFF#000000##FFFFFF
##7C3CC41.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)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#6C5C7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3cc4;
/* rgb */ color: rgb(124, 60, 196);
/* oklch */ color: oklch(51.0% 0.201 301.0);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7c3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc4;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc4",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 268.235,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.20092,
    "h": 301
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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