#7C3BBD#7C3BBD

#7C3BBD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.195 H 302.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7C3BBD
RGBrgb(124, 59, 189)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 69%, 74%)
CMYKcmyk(34.4%, 68.8%, 0%, 25.9%)
CIE-LABlab(39.73, 52.46, -57.47)
CIE-LCHlch(39.73, 77.81, 312.39°)
OKLaboklab(50.35% 0.1056 -0.1635)
OKLCHoklch(50.35% 0.195 302.8)
XYZxyz(19.0593, 11.0871, 49.2702)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BBD #7CBD3B
analogous
#3B3BBD #7C3BBD #BD3BBD
triadic
#7C3BBD #BD7C3B #3BBD7C
tetradic
#7C3BBD #BD3B3B #7CBD3B #3BBDBD
square
#7C3BBD #BD3B3B #7CBD3B #3BBDBD
split-complementary
#7C3BBD #BDBD3B #3BBD3B
monochromatic
#3F1E60 #5D2C8E #7C3BBD #9B66CF #B995DE

Accessibility & contrast

On white

6.53
#7C3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7C3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BBD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BBD#FFFFFF#000000##FFFFFF
##7C3BBD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#6F5977
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3bbd;
/* rgb */ color: rgb(124, 59, 189);
/* oklch */ color: oklch(50.4% 0.195 302.8);
Tailwind
colors: {
  custom: {
    50: '#a776d2',
    500: '#7c3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bbd;
$custom-light: #a776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bbd",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.19458,
    "h": 302.8
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#7C3BBD
secondary
#AAC98B
accent
#DC4C94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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