#7C3FD6#7C3FD6

#7C3FD6 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.217 H 296.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7C3FD6
RGBrgb(124, 63, 214)
HSLhsl(264, 65%, 54%)
HSVhsv(264, 71%, 84%)
CMYKcmyk(42.1%, 70.6%, 0%, 16.1%)
CIE-LABlab(42.30, 56.74, -67.79)
CIE-LCHlch(42.30, 88.40, 309.93°)
OKLaboklab(52.78% 0.0974 -0.1938)
OKLCHoklch(52.78% 0.217 296.7)
XYZxyz(22.2241, 12.6947, 64.8847)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FD6 #99D63F
analogous
#3F4ED6 #7C3FD6 #C73FD6
triadic
#7C3FD6 #D67C3F #3FD67C
tetradic
#7C3FD6 #D63F4E #99D63F #3FD6C7
square
#7C3FD6 #D63F4E #99D63F #3FD6C7
split-complementary
#7C3FD6 #D6C73F #4ED63F
monochromatic
#441B7F #5E26B2 #7C3FD6 #9E71E1 #C1A4EC

Accessibility & contrast

On white

5.93
#7C3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7C3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FD6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FD6#FFFFFF#000000##FFFFFF
##7C3FD61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#656586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c3fd6;
/* rgb */ color: rgb(124, 63, 214);
/* oklch */ color: oklch(52.8% 0.217 296.7);
Tailwind
colors: {
  custom: {
    50: '#a979e4',
    500: '#7c3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fd6;
$custom-light: #a979e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fd6",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 264.238,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.21693,
    "h": 296.7
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#7C3FD6
secondary
#BFD898
accent
#E840A4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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