#7C3FCA#7C3FCA

#7C3FCA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.204 H 299.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7C3FCA
RGBrgb(124, 63, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 69%, 79%)
CMYKcmyk(38.6%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.38, 53.72, -62.36)
CIE-LCHlch(41.38, 82.31, 310.75°)
OKLaboklab(51.84% 0.0995 -0.1779)
OKLCHoklch(51.84% 0.204 299.2)
XYZxyz(20.7477, 12.1041, 57.1089)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FCA #8DCA3F
analogous
#3F48CA #7C3FCA #C23FCA
triadic
#7C3FCA #CA7C3F #3FCA7C
tetradic
#7C3FCA #CA3F48 #8DCA3F #3FCAC2
square
#7C3FCA #CA3F48 #8DCA3F #3FCAC2
split-complementary
#7C3FCA #CAC23F #48CA3F
monochromatic
#421F70 #5F2CA0 #7C3FCA #9D6FD7 #BD9FE4

Accessibility & contrast

On white

6.14
#7C3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7C3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FCA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FCA#FFFFFF#000000##FFFFFF
##7C3FCA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6A6080
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3fca;
/* rgb */ color: rgb(124, 63, 202);
/* oklch */ color: oklch(51.8% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#a879db',
    500: '#7c3fca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fca;
$custom-light: #a879db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fca",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 266.331,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.2038,
    "h": 299.2
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#7C3FCA
secondary
#B6D194
accent
#E0489D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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