#7C3CD7#7C3CD7

#7C3CD7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.221 H 296.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7C3CD7
RGBrgb(124, 60, 215)
HSLhsl(265, 66%, 54%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(42.3%, 72.1%, 0%, 15.7%)
CIE-LABlab(41.88, 58.40, -69.04)
CIE-LCHlch(41.88, 90.43, 310.22°)
OKLaboklab(52.51% 0.1 -0.1975)
OKLCHoklch(52.51% 0.221 296.9)
XYZxyz(22.1906, 12.4227, 65.5055)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CD7 #97D73C
analogous
#3C4AD7 #7C3CD7 #C93CD7
triadic
#7C3CD7 #D77C3C #3CD77C
tetradic
#7C3CD7 #D73C4A #97D73C #3CD7C9
square
#7C3CD7 #D73C4A #97D73C #3CD7C9
split-complementary
#7C3CD7 #D7C93C #4AD73C
monochromatic
#441A7F #5F24B1 #7C3CD7 #9E6FE1 #C0A2EC

Accessibility & contrast

On white

6.03
#7C3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7C3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CD7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CD7#FFFFFF#000000##FFFFFF
##7C3CD71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#646486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c3cd7;
/* rgb */ color: rgb(124, 60, 215);
/* oklch */ color: oklch(52.5% 0.221 296.9);
Tailwind
colors: {
  custom: {
    50: '#a977e4',
    500: '#7c3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cd7;
$custom-light: #a977e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cd7",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 264.774,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.22137,
    "h": 296.9
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#7C3CD7
secondary
#BDD896
accent
#E93FA3
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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