#7C3CCF#7C3CCF

#7C3CCF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.213 H 298.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C3CCF
RGBrgb(124, 60, 207)
HSLhsl(266, 60%, 52%)
HSVhsv(266, 71%, 81%)
CMYKcmyk(40.1%, 71%, 0%, 18.8%)
CIE-LABlab(41.25, 56.40, -65.46)
CIE-LCHlch(41.25, 86.41, 310.75°)
OKLaboklab(51.86% 0.1016 -0.187)
OKLCHoklch(51.86% 0.213 298.5)
XYZxyz(21.1877, 12.0215, 60.2235)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CCF #8FCF3C
analogous
#3C46CF #7C3CCF #C53CCF
triadic
#7C3CCF #CF7C3C #3CCF7C
tetradic
#7C3CCF #CF3C46 #8FCF3C #3CCFC5
square
#7C3CCF #CF3C46 #8FCF3C #3CCFC5
split-complementary
#7C3CCF #CFC53C #46CF3C
monochromatic
#431D74 #5F29A5 #7C3CCF #9D6DDB #BE9EE7

Accessibility & contrast

On white

6.17
#7C3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7C3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CCF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CCF#FFFFFF#000000##FFFFFF
##7C3CCF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#686182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ccf;
/* rgb */ color: rgb(124, 60, 207);
/* oklch */ color: oklch(51.9% 0.213 298.5);
Tailwind
colors: {
  custom: {
    50: '#a977df',
    500: '#7c3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ccf;
$custom-light: #a977df;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ccf",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 266.122,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.2128,
    "h": 298.5
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#7C3CCF
secondary
#B8D393
accent
#E4449E
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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