#7C3CBC#7C3CBC

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

Color values

HEX#7C3CBC
RGBrgb(124, 60, 188)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 68%, 74%)
CMYKcmyk(34%, 68.1%, 0%, 26.3%)
CIE-LABlab(39.83, 51.73, -56.71)
CIE-LCHlch(39.83, 76.76, 312.37°)
OKLaboklab(50.4% 0.1046 -0.1613)
OKLCHoklch(50.4% 0.192 303)
XYZxyz(19.0030, 11.1476, 48.7178)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CBC #7CBC3C
analogous
#3C3CBC #7C3CBC #BC3CBC
triadic
#7C3CBC #BC7C3C #3CBC7C
tetradic
#7C3CBC #BC3C3C #7CBC3C #3CBCBC
square
#7C3CBC #BC3C3C #7CBC3C #3CBCBC
split-complementary
#7C3CBC #BCBC3C #3CBC3C
monochromatic
#3F1E5F #5D2D8E #7C3CBC #9B67CE #B995DD

Accessibility & contrast

On white

6.50
#7C3CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C3CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CBC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CBC#FFFFFF#000000##FFFFFF
##7C3CBC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3cbc;
/* rgb */ color: rgb(124, 60, 188);
/* oklch */ color: oklch(50.4% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#a776d1',
    500: '#7c3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cbc;
$custom-light: #a776d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cbc",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.19222,
    "h": 303
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#7C3CBC
secondary
#AAC98B
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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