#7C3FD9#7C3FD9

#7C3FD9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.220 H 296.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7C3FD9
RGBrgb(124, 63, 217)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 71%, 85%)
CMYKcmyk(42.9%, 71%, 0%, 14.9%)
CIE-LABlab(42.54, 57.50, -69.12)
CIE-LCHlch(42.54, 89.91, 309.76°)
OKLaboklab(53.02% 0.0969 -0.1977)
OKLCHoklch(53.02% 0.22 296.1)
XYZxyz(22.6108, 12.8494, 66.9211)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FD9 #9CD93F
analogous
#3F4FD9 #7C3FD9 #C93FD9
triadic
#7C3FD9 #D97C3F #3FD97C
tetradic
#7C3FD9 #D93F4F #9CD93F #3FD9C9
square
#7C3FD9 #D93F4F #9CD93F #3FD9C9
split-complementary
#7C3FD9 #D9C93F #4FD93F
monochromatic
#441A84 #5E24B7 #7C3FD9 #9F72E3 #C2A5ED

Accessibility & contrast

On white

5.88
#7C3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7C3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FD9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FD9#FFFFFF#000000##FFFFFF
##7C3FD91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#636688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c3fd9;
/* rgb */ color: rgb(124, 63, 217);
/* oklch */ color: oklch(53.0% 0.220 296.1);
Tailwind
colors: {
  custom: {
    50: '#a979e6',
    500: '#7c3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fd9;
$custom-light: #a979e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fd9",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 263.766,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.22019,
    "h": 296.1
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#7C3FD9
secondary
#C1DA9A
accent
#EA3EA6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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