#7C3FBE#7C3FBE

#7C3FBE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.191 H 302.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7C3FBE
RGBrgb(124, 63, 190)
HSLhsl(269, 50%, 50%)
HSVhsv(269, 67%, 75%)
CMYKcmyk(34.7%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.50, 50.75, -56.79)
CIE-LCHlch(40.50, 76.16, 311.78°)
OKLaboklab(50.93% 0.1011 -0.1615)
OKLCHoklch(50.93% 0.191 302.1)
XYZxyz(19.3818, 11.5577, 49.9150)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FBE #81BE3F
analogous
#3F41BE #7C3FBE #BC3FBE
triadic
#7C3FBE #BE7C3F #3FBE7C
tetradic
#7C3FBE #BE3F41 #81BE3F #3FBEBC
square
#7C3FBE #BE3F41 #81BE3F #3FBEBC
split-complementary
#7C3FBE #BEBC3F #41BE3F
monochromatic
#402162 #5E3090 #7C3FBE #9B6CCE #BA9ADD

Accessibility & contrast

On white

6.34
#7C3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FBE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FBE#FFFFFF#000000##FFFFFF
##7C3FBE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#6E5C79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3fbe;
/* rgb */ color: rgb(124, 63, 190);
/* oklch */ color: oklch(50.9% 0.191 302.1);
Tailwind
colors: {
  custom: {
    50: '#a778d2',
    500: '#7c3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fbe;
$custom-light: #a778d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fbe",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 268.819,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.19055,
    "h": 302.1
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#7C3FBE
secondary
#AEC98F
accent
#DA4E97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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