#7C3BB1#7C3BB1

#7C3BB1 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.182 H 306.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB1
RGBrgb(124, 59, 177)
HSLhsl(273, 50%, 46%)
HSVhsv(273, 67%, 69%)
CMYKcmyk(29.9%, 66.7%, 0%, 30.6%)
CIE-LABlab(38.88, 49.58, -51.77)
CIE-LCHlch(38.88, 71.68, 313.76°)
OKLaboklab(49.48% 0.107 -0.1467)
OKLCHoklch(49.48% 0.182 306.1)
XYZxyz(17.8102, 10.5875, 42.6918)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB1 #70B13B
analogous
#413BB1 #7C3BB1 #B13BAB
triadic
#7C3BB1 #B17C3B #3BB17C
tetradic
#7C3BB1 #B1413B #70B13B #3BABB1
square
#7C3BB1 #B1413B #70B13B #3BABB1
split-complementary
#7C3BB1 #ABB13B #3BB141
monochromatic
#3C1C55 #5C2C83 #7C3BB1 #9A5FCA #B78DD9

Accessibility & contrast

On white

6.74
#7C3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7C3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BB1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB1#FFFFFF#000000##FFFFFF
##7C3BB11.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#1C5CAE
Tritanopia (blue-blind)
#735571
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3bb1;
/* rgb */ color: rgb(124, 59, 177);
/* oklch */ color: oklch(49.5% 0.182 306.1);
Tailwind
colors: {
  custom: {
    50: '#a675c9',
    500: '#7c3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb1;
$custom-light: #a675c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb1",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 273.051,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.18157,
    "h": 306.1
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#7C3BB1
secondary
#A1C484
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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