#7C3CA8#7C3CA8

#7C3CA8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.170 H 308.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7C3CA8
RGBrgb(124, 60, 168)
HSLhsl(276, 47%, 45%)
HSVhsv(276, 64%, 66%)
CMYKcmyk(26.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(38.45, 46.97, -47.10)
CIE-LCHlch(38.45, 66.52, 314.92°)
OKLaboklab(48.98% 0.1065 -0.133)
OKLCHoklch(48.98% 0.17 308.7)
XYZxyz(16.9945, 10.3442, 38.1396)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CA8 #68A83C
analogous
#463CA8 #7C3CA8 #A83C9E
triadic
#7C3CA8 #A87C3C #3CA87C
tetradic
#7C3CA8 #A8463C #68A83C #3C9EA8
square
#7C3CA8 #A8463C #68A83C #3C9EA8
split-complementary
#7C3CA8 #9EA83C #3CA846
monochromatic
#391C4E #5B2C7B #7C3CA8 #9A5CC5 #B689D5

Accessibility & contrast

On white

6.84
#7C3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7C3CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CA8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CA8#FFFFFF#000000##FFFFFF
##7C3CA81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#2B5BA6
Tritanopia (blue-blind)
#76526C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3ca8;
/* rgb */ color: rgb(124, 60, 168);
/* oklch */ color: oklch(49.0% 0.170 308.7);
Tailwind
colors: {
  custom: {
    50: '#a576c2',
    500: '#7c3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ca8;
$custom-light: #a576c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ca8",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 275.556,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48977,
    "c": 0.17037,
    "h": 308.7
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#7C3CA8
secondary
#9ABF80
accent
#D75187
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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