#7C3FB7#7C3FB7

#7C3FB7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.183 H 303.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7C3FB7
RGBrgb(124, 63, 183)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 72%)
CMYKcmyk(32.2%, 65.6%, 0%, 28.2%)
CIE-LABlab(40.01, 49.03, -53.48)
CIE-LCHlch(40.01, 72.55, 312.52°)
OKLaboklab(50.42% 0.1019 -0.1518)
OKLCHoklch(50.42% 0.183 303.9)
XYZxyz(18.6350, 11.2590, 45.9820)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FB7 #7AB73F
analogous
#403FB7 #7C3FB7 #B73FB6
triadic
#7C3FB7 #B77C3F #3FB77C
tetradic
#7C3FB7 #B7403F #7AB73F #3FB6B7
square
#7C3FB7 #B7403F #7AB73F #3FB6B7
split-complementary
#7C3FB7 #B6B73F #3FB740
monochromatic
#3E205C #5D2F89 #7C3FB7 #9A68CB #B996DB

Accessibility & contrast

On white

6.46
#7C3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FB7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FB7#FFFFFF#000000##FFFFFF
##7C3FB71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#185EB4
Tritanopia (blue-blind)
#715975
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3fb7;
/* rgb */ color: rgb(124, 63, 183);
/* oklch */ color: oklch(50.4% 0.183 303.9);
Tailwind
colors: {
  custom: {
    50: '#a678cd',
    500: '#7c3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fb7;
$custom-light: #a678cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fb7",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 270.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.18277,
    "h": 303.9
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#7C3FB7
secondary
#A8C68B
accent
#D84F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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