#7C3CB5#7C3CB5

#7C3CB5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.185 H 304.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C3CB5
RGBrgb(124, 60, 181)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 67%, 71%)
CMYKcmyk(31.5%, 66.9%, 0%, 29%)
CIE-LABlab(39.33, 50.04, -53.40)
CIE-LCHlch(39.33, 73.18, 313.14°)
OKLaboklab(49.89% 0.1054 -0.1515)
OKLCHoklch(49.89% 0.185 304.8)
XYZxyz(18.2667, 10.8531, 44.8396)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CB5 #75B53C
analogous
#403CB5 #7C3CB5 #B53CB1
triadic
#7C3CB5 #B57C3C #3CB57C
tetradic
#7C3CB5 #B5403C #75B53C #3CB1B5
square
#7C3CB5 #B5403C #75B53C #3CB1B5
split-complementary
#7C3CB5 #B1B53C #3CB540
monochromatic
#3D1E59 #5D2D87 #7C3CB5 #9A63CB #B891DB

Accessibility & contrast

On white

6.62
#7C3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CB5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CB5#FFFFFF#000000##FFFFFF
##7C3CB51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#155DB2
Tritanopia (blue-blind)
#725773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3cb5;
/* rgb */ color: rgb(124, 60, 181);
/* oklch */ color: oklch(49.9% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#a676cc',
    500: '#7c3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cb5;
$custom-light: #a676cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cb5",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 271.736,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.1846,
    "h": 304.8
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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