#7C3CCC#7C3CCC

#7C3CCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.210 H 299.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7C3CCC
RGBrgb(124, 60, 204)
HSLhsl(267, 59%, 52%)
HSVhsv(267, 71%, 80%)
CMYKcmyk(39.2%, 70.6%, 0%, 20%)
CIE-LABlab(41.02, 55.66, -64.11)
CIE-LCHlch(41.02, 84.90, 310.96°)
OKLaboklab(51.63% 0.1021 -0.183)
OKLCHoklch(51.63% 0.21 299.2)
XYZxyz(20.8244, 11.8762, 58.3102)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CCC #8CCC3C
analogous
#3C44CC #7C3CCC #C43CCC
triadic
#7C3CCC #CC7C3C #3CCC7C
tetradic
#7C3CCC #CC3C44 #8CCC3C #3CCCC4
square
#7C3CCC #CC3C44 #8CCC3C #3CCCC4
split-complementary
#7C3CCC #CCC43C #44CC3C
monochromatic
#421D70 #5F2AA1 #7C3CCC #9D6DD9 #BD9DE5

Accessibility & contrast

On white

6.22
#7C3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7C3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CCC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CCC#FFFFFF#000000##FFFFFF
##7C3CCC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#695F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ccc;
/* rgb */ color: rgb(124, 60, 204);
/* oklch */ color: oklch(51.6% 0.210 299.2);
Tailwind
colors: {
  custom: {
    50: '#a877dd',
    500: '#7c3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ccc;
$custom-light: #a877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ccc",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 266.667,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.20957,
    "h": 299.2
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#7C3CCC
secondary
#B5D192
accent
#E2469D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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