#7C3CC2#7C3CC2

#7C3CC2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.199 H 301.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7C3CC2
RGBrgb(124, 60, 194)
HSLhsl(269, 53%, 50%)
HSVhsv(269, 69%, 76%)
CMYKcmyk(36.1%, 69.1%, 0%, 23.9%)
CIE-LABlab(40.27, 53.19, -59.52)
CIE-LCHlch(40.27, 79.82, 311.79°)
OKLaboklab(50.85% 0.1038 -0.1695)
OKLCHoklch(50.85% 0.199 301.5)
XYZxyz(19.6633, 11.4117, 52.1952)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC2 #82C23C
analogous
#3C3FC2 #7C3CC2 #BF3CC2
triadic
#7C3CC2 #C27C3C #3CC27C
tetradic
#7C3CC2 #C23C3F #82C23C #3CC2BF
square
#7C3CC2 #C23C3F #82C23C #3CC2BF
split-complementary
#7C3CC2 #C2BF3C #3FC23C
monochromatic
#401F65 #5E2E93 #7C3CC2 #9B6AD1 #BB99DF

Accessibility & contrast

On white

6.40
#7C3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7C3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CC2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC2#FFFFFF#000000##FFFFFF
##7C3CC21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#6D5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3cc2;
/* rgb */ color: rgb(124, 60, 194);
/* oklch */ color: oklch(50.9% 0.199 301.5);
Tailwind
colors: {
  custom: {
    50: '#a777d5',
    500: '#7c3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc2;
$custom-light: #a777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc2",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 268.657,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.19875,
    "h": 301.5
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#7C3CC2
secondary
#AECB8F
accent
#DC4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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