#7C3BB8#7C3BB8

#7C3BB8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.189 H 304.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB8
RGBrgb(124, 59, 184)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 68%, 72%)
CMYKcmyk(32.6%, 67.9%, 0%, 27.8%)
CIE-LABlab(39.37, 51.25, -55.11)
CIE-LCHlch(39.37, 75.26, 312.92°)
OKLaboklab(49.98% 0.1062 -0.1565)
OKLCHoklch(49.98% 0.189 304.2)
XYZxyz(18.5259, 10.8738, 46.4610)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB8 #77B83B
analogous
#3E3BB8 #7C3BB8 #B83BB5
triadic
#7C3BB8 #B87C3B #3BB87C
tetradic
#7C3BB8 #B83E3B #77B83B #3BB5B8
square
#7C3BB8 #B83E3B #77B83B #3BB5B8
split-complementary
#7C3BB8 #B5B83B #3BB83E
monochromatic
#3E1D5B #5D2C8A #7C3BB8 #9A63CD #B892DC

Accessibility & contrast

On white

6.61
#7C3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3BB8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB8#FFFFFF#000000##FFFFFF
##7C3BB81.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#715775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3bb8;
/* rgb */ color: rgb(124, 59, 184);
/* oklch */ color: oklch(50.0% 0.189 304.2);
Tailwind
colors: {
  custom: {
    50: '#a776ce',
    500: '#7c3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb8;
$custom-light: #a776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb8",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 271.2,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.18917,
    "h": 304.2
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#7C3BB8
secondary
#A6C788
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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