#7C3CB3#7C3CB3

#7C3CB3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.182 H 305.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7C3CB3
RGBrgb(124, 60, 179)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 66%, 70%)
CMYKcmyk(30.7%, 66.5%, 0%, 29.8%)
CIE-LABlab(39.19, 49.56, -52.44)
CIE-LCHlch(39.19, 72.16, 313.38°)
OKLaboklab(49.75% 0.1056 -0.1487)
OKLCHoklch(49.75% 0.182 305.4)
XYZxyz(18.0629, 10.7716, 43.7666)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CB3 #73B33C
analogous
#413CB3 #7C3CB3 #B33CAF
triadic
#7C3CB3 #B37C3C #3CB37C
tetradic
#7C3CB3 #B3413C #73B33C #3CAFB3
square
#7C3CB3 #B3413C #73B33C #3CAFB3
split-complementary
#7C3CB3 #AFB33C #3CB341
monochromatic
#3C1D57 #5C2D85 #7C3CB3 #9A62CA #B790DA

Accessibility & contrast

On white

6.66
#7C3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3CB3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CB3#FFFFFF#000000##FFFFFF
##7C3CB31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#725672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3cb3;
/* rgb */ color: rgb(124, 60, 179);
/* oklch */ color: oklch(49.7% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#a676ca',
    500: '#7c3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cb3;
$custom-light: #a676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cb3",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 272.269,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.1824,
    "h": 305.4
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#7C3CB3
secondary
#A3C586
accent
#D94E8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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