#7C3CB2#7C3CB2

#7C3CB2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.181 H 305.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7C3CB2
RGBrgb(124, 60, 178)
HSLhsl(273, 50%, 47%)
HSVhsv(273, 66%, 70%)
CMYKcmyk(30.3%, 66.3%, 0%, 30.2%)
CIE-LABlab(39.12, 49.33, -51.96)
CIE-LCHlch(39.12, 71.65, 313.51°)
OKLaboklab(49.68% 0.1057 -0.1473)
OKLCHoklch(49.68% 0.181 305.7)
XYZxyz(17.9622, 10.7313, 43.2359)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CB2 #72B23C
analogous
#413CB2 #7C3CB2 #B23CAD
triadic
#7C3CB2 #B27C3C #3CB27C
tetradic
#7C3CB2 #B2413C #72B23C #3CADB2
square
#7C3CB2 #B2413C #72B23C #3CADB2
split-complementary
#7C3CB2 #ADB23C #3CB241
monochromatic
#3C1D56 #5C2D84 #7C3CB2 #9A61CA #B78FD9

Accessibility & contrast

On white

6.67
#7C3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7C3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CB2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CB2#FFFFFF#000000##FFFFFF
##7C3CB21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#735672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3cb2;
/* rgb */ color: rgb(124, 60, 178);
/* oklch */ color: oklch(49.7% 0.181 305.7);
Tailwind
colors: {
  custom: {
    50: '#a676ca',
    500: '#7c3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cb2;
$custom-light: #a676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cb2",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 272.542,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.18132,
    "h": 305.7
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#7C3CB2
secondary
#A2C486
accent
#D94F8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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