#7C3CBE#7C3CBE

#7C3CBE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.194 H 302.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7C3CBE
RGBrgb(124, 60, 190)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34.7%, 68.4%, 0%, 25.5%)
CIE-LABlab(39.97, 52.22, -57.65)
CIE-LCHlch(39.97, 77.78, 312.17°)
OKLaboklab(50.55% 0.1044 -0.164)
OKLCHoklch(50.55% 0.194 302.5)
XYZxyz(19.2201, 11.2345, 49.8611)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CBE #7EBE3C
analogous
#3C3DBE #7C3CBE #BD3CBE
triadic
#7C3CBE #BE7C3C #3CBE7C
tetradic
#7C3CBE #BE3C3D #7EBE3C #3CBEBD
square
#7C3CBE #BE3C3D #7EBE3C #3CBEBD
split-complementary
#7C3CBE #BEBD3C #3DBE3C
monochromatic
#3F1F61 #5E2D8F #7C3CBE #9B68CF #BA96DE

Accessibility & contrast

On white

6.47
#7C3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CBE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CBE#FFFFFF#000000##FFFFFF
##7C3CBE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6F5A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3cbe;
/* rgb */ color: rgb(124, 60, 190);
/* oklch */ color: oklch(50.6% 0.194 302.5);
Tailwind
colors: {
  custom: {
    50: '#a776d2',
    500: '#7c3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cbe;
$custom-light: #a776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cbe",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 269.538,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.19441,
    "h": 302.5
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#7C3CBE
secondary
#ABCA8C
accent
#DB4C95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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