#7C3BB4#7C3BB4

#7C3BB4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.185 H 305.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB4
RGBrgb(124, 59, 180)
HSLhsl(272, 51%, 47%)
HSVhsv(272, 67%, 71%)
CMYKcmyk(31.1%, 67.2%, 0%, 29.4%)
CIE-LABlab(39.08, 50.29, -53.21)
CIE-LCHlch(39.08, 73.21, 313.39°)
OKLaboklab(49.69% 0.1067 -0.1509)
OKLCHoklch(49.69% 0.185 305.2)
XYZxyz(18.1125, 10.7084, 44.2839)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB4 #73B43B
analogous
#3F3BB4 #7C3BB4 #B43BB0
triadic
#7C3BB4 #B47C3B #3BB47C
tetradic
#7C3BB4 #B43F3B #73B43B #3BB0B4
square
#7C3BB4 #B43F3B #73B43B #3BB0B4
split-complementary
#7C3BB4 #B0B43B #3BB43F
monochromatic
#3C1D58 #5C2C86 #7C3BB4 #9A61CB #B78FDA

Accessibility & contrast

On white

6.68
#7C3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7C3BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BB4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB4#FFFFFF#000000##FFFFFF
##7C3BB41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#725673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3bb4;
/* rgb */ color: rgb(124, 59, 180);
/* oklch */ color: oklch(49.7% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#a675cb',
    500: '#7c3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb4;
$custom-light: #a675cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb4",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 272.231,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.18484,
    "h": 305.2
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#7C3BB4
secondary
#A3C586
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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