#7C3CA4#7C3CA4

#7C3CA4 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.166 H 310.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C3CA4
RGBrgb(124, 60, 164)
HSLhsl(277, 46%, 44%)
HSVhsv(277, 63%, 64%)
CMYKcmyk(24.4%, 63.4%, 0%, 35.7%)
CIE-LABlab(38.19, 46.04, -45.12)
CIE-LCHlch(38.19, 64.47, 315.58°)
OKLaboklab(48.71% 0.1066 -0.1272)
OKLCHoklch(48.71% 0.166 310)
XYZxyz(16.6276, 10.1975, 36.2071)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CA4 #64A43C
analogous
#483CA4 #7C3CA4 #A43C98
triadic
#7C3CA4 #A47C3C #3CA47C
tetradic
#7C3CA4 #A4483C #64A43C #3C98A4
square
#7C3CA4 #A4483C #64A43C #3C98A4
split-complementary
#7C3CA4 #98A43C #3CA448
monochromatic
#381B4A #5A2C77 #7C3CA4 #9B5AC3 #B687D3

Accessibility & contrast

On white

6.91
#7C3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7C3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CA4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CA4#FFFFFF#000000##FFFFFF
##7C3CA41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#77506A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3ca4;
/* rgb */ color: rgb(124, 60, 164);
/* oklch */ color: oklch(48.7% 0.166 310.0);
Tailwind
colors: {
  custom: {
    50: '#a576bf',
    500: '#7c3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ca4;
$custom-light: #a576bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ca4",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 276.923,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.166,
    "h": 310
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#7C3CA4
secondary
#97BD7E
accent
#D65285
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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