#7C3CA3#7C3CA3

#7C3CA3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.165 H 310.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7C3CA3
RGBrgb(124, 60, 163)
HSLhsl(277, 46%, 44%)
HSVhsv(277, 63%, 64%)
CMYKcmyk(23.9%, 63.2%, 0%, 36.1%)
CIE-LABlab(38.13, 45.81, -44.63)
CIE-LCHlch(38.13, 63.96, 315.75°)
OKLaboklab(48.64% 0.1067 -0.1258)
OKLCHoklch(48.64% 0.165 310.3)
XYZxyz(16.5376, 10.1615, 35.7334)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CA3 #63A33C
analogous
#493CA3 #7C3CA3 #A33C96
triadic
#7C3CA3 #A37C3C #3CA37C
tetradic
#7C3CA3 #A3493C #63A33C #3C96A3
square
#7C3CA3 #A3493C #63A33C #3C96A3
split-complementary
#7C3CA3 #96A33C #3CA349
monochromatic
#381B4A #5A2C76 #7C3CA3 #9B5AC2 #B687D3

Accessibility & contrast

On white

6.93
#7C3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7C3CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CA3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CA3#FFFFFF#000000##FFFFFF
##7C3CA31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#77506A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3ca3;
/* rgb */ color: rgb(124, 60, 163);
/* oklch */ color: oklch(48.6% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#a576bf',
    500: '#7c3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ca3;
$custom-light: #a576bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ca3",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 277.282,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.16491,
    "h": 310.3
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#7C3CA3
secondary
#96BD7E
accent
#D65284
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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