#7C3CB8#7C3CB8

#7C3CB8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.188 H 304.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7C3CB8
RGBrgb(124, 60, 184)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 67%, 72%)
CMYKcmyk(32.6%, 67.4%, 0%, 27.8%)
CIE-LABlab(39.54, 50.76, -54.83)
CIE-LCHlch(39.54, 74.72, 312.80°)
OKLaboklab(50.11% 0.1051 -0.1557)
OKLCHoklch(50.11% 0.188 304)
XYZxyz(18.5778, 10.9776, 46.4783)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CB8 #78B83C
analogous
#3E3CB8 #7C3CB8 #B83CB6
triadic
#7C3CB8 #B87C3C #3CB87C
tetradic
#7C3CB8 #B83E3C #78B83C #3CB6B8
square
#7C3CB8 #B83E3C #78B83C #3CB6B8
split-complementary
#7C3CB8 #B6B83C #3CB83E
monochromatic
#3E1E5C #5D2D8A #7C3CB8 #9A65CD #B893DC

Accessibility & contrast

On white

6.57
#7C3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7C3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CB8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CB8#FFFFFF#000000##FFFFFF
##7C3CB81.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#715875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3cb8;
/* rgb */ color: rgb(124, 60, 184);
/* oklch */ color: oklch(50.1% 0.188 304.0);
Tailwind
colors: {
  custom: {
    50: '#a776ce',
    500: '#7c3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cb8;
$custom-light: #a776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cb8",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 270.968,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.18787,
    "h": 304
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#7C3CB8
secondary
#A7C789
accent
#DA4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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