#7C3CB6#7C3CB6

#7C3CB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.186 H 304.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C3CB6
RGBrgb(124, 60, 182)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 71%)
CMYKcmyk(31.9%, 67%, 0%, 28.6%)
CIE-LABlab(39.40, 50.28, -53.88)
CIE-LCHlch(39.40, 73.69, 313.02°)
OKLaboklab(49.96% 0.1053 -0.1529)
OKLCHoklch(49.96% 0.186 304.6)
XYZxyz(18.3696, 10.8943, 45.3820)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CB6 #76B63C
analogous
#3F3CB6 #7C3CB6 #B63CB3
triadic
#7C3CB6 #B67C3C #3CB67C
tetradic
#7C3CB6 #B63F3C #76B63C #3CB3B6
square
#7C3CB6 #B63F3C #76B63C #3CB3B6
split-complementary
#7C3CB6 #B3B63C #3CB63F
monochromatic
#3D1E5A #5D2D88 #7C3CB6 #9A63CC #B891DB

Accessibility & contrast

On white

6.61
#7C3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C3CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CB6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CB6#FFFFFF#000000##FFFFFF
##7C3CB61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#715774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3cb6;
/* rgb */ color: rgb(124, 60, 182);
/* oklch */ color: oklch(50.0% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#a676cd',
    500: '#7c3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cb6;
$custom-light: #a676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cb6",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 271.475,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.18569,
    "h": 304.6
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#7C3CB6
secondary
#A5C688
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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