#7C3CCD#7C3CCD

#7C3CCD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.211 H 298.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7C3CCD
RGBrgb(124, 60, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(39.5%, 70.7%, 0%, 19.6%)
CIE-LABlab(41.10, 55.90, -64.56)
CIE-LCHlch(41.10, 85.40, 310.89°)
OKLaboklab(51.7% 0.102 -0.1843)
OKLCHoklch(51.7% 0.211 298.9)
XYZxyz(20.9447, 11.9243, 58.9439)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CCD #8DCD3C
analogous
#3C44CD #7C3CCD #C53CCD
triadic
#7C3CCD #CD7C3C #3CCD7C
tetradic
#7C3CCD #CD3C44 #8DCD3C #3CCDC5
square
#7C3CCD #CD3C44 #8DCD3C #3CCDC5
split-complementary
#7C3CCD #CDC53C #44CD3C
monochromatic
#421D71 #5F2AA2 #7C3CCD #9D6DD9 #BD9DE6

Accessibility & contrast

On white

6.20
#7C3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7C3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CCD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CCD#FFFFFF#000000##FFFFFF
##7C3CCD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#696081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ccd;
/* rgb */ color: rgb(124, 60, 205);
/* oklch */ color: oklch(51.7% 0.211 298.9);
Tailwind
colors: {
  custom: {
    50: '#a877dd',
    500: '#7c3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ccd;
$custom-light: #a877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ccd",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 266.483,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.21065,
    "h": 298.9
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#7C3CCD
secondary
#B6D293
accent
#E2459D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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