#7C3FA3#7C3FA3

#7C3FA3 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.160 H 309.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7C3FA3
RGBrgb(124, 63, 163)
HSLhsl(277, 44%, 44%)
HSVhsv(277, 61%, 64%)
CMYKcmyk(23.9%, 61.3%, 0%, 36.1%)
CIE-LABlab(38.70, 44.27, -43.72)
CIE-LCHlch(38.70, 62.22, 315.36°)
OKLaboklab(49.05% 0.1029 -0.1231)
OKLCHoklch(49.05% 0.16 309.9)
XYZxyz(16.6993, 10.4848, 35.7873)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FA3 #66A33F
analogous
#4A3FA3 #7C3FA3 #A33F98
triadic
#7C3FA3 #A37C3F #3FA37C
tetradic
#7C3FA3 #A34A3F #66A33F #3F98A3
square
#7C3FA3 #A34A3F #66A33F #3F98A3
split-complementary
#7C3FA3 #98A33F #3FA34A
monochromatic
#391D4B #5A2E77 #7C3FA3 #9A5EC1 #B68AD2

Accessibility & contrast

On white

6.78
#7C3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7C3FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FA3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FA3#FFFFFF#000000##FFFFFF
##7C3FA31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#77526B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3fa3;
/* rgb */ color: rgb(124, 63, 163);
/* oklch */ color: oklch(49.1% 0.160 309.9);
Tailwind
colors: {
  custom: {
    50: '#a577bf',
    500: '#7c3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fa3;
$custom-light: #a577bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fa3",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 276.6,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.16044,
    "h": 309.9
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#7C3FA3
secondary
#98BD81
accent
#D45486
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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