#7C3BB6#7C3BB6

#7C3BB6 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.187 H 304.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB6
RGBrgb(124, 59, 182)
HSLhsl(272, 51%, 47%)
HSVhsv(272, 68%, 71%)
CMYKcmyk(31.9%, 67.6%, 0%, 28.6%)
CIE-LABlab(39.23, 50.77, -54.16)
CIE-LCHlch(39.23, 74.24, 313.15°)
OKLaboklab(49.84% 0.1065 -0.1537)
OKLCHoklch(49.84% 0.187 304.7)
XYZxyz(18.3178, 10.7905, 45.3647)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB6 #75B63B
analogous
#3E3BB6 #7C3BB6 #B63BB3
triadic
#7C3BB6 #B67C3B #3BB67C
tetradic
#7C3BB6 #B63E3B #75B63B #3BB3B6
square
#7C3BB6 #B63E3B #75B63B #3BB3B6
split-complementary
#7C3BB6 #B3B63B #3BB63E
monochromatic
#3D1D5A #5D2C88 #7C3BB6 #9A62CC #B890DB

Accessibility & contrast

On white

6.65
#7C3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7C3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BB6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB6#FFFFFF#000000##FFFFFF
##7C3BB61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#105CB3
Tritanopia (blue-blind)
#715674
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3bb6;
/* rgb */ color: rgb(124, 59, 182);
/* oklch */ color: oklch(49.8% 0.187 304.7);
Tailwind
colors: {
  custom: {
    50: '#a676cd',
    500: '#7c3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb6;
$custom-light: #a676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb6",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 271.707,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.187,
    "h": 304.7
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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