#7C36C0#7C36C0

#7C36C0 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.204 H 302.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7C36C0
RGBrgb(124, 54, 192)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(35.4%, 71.9%, 0%, 24.7%)
CIE-LABlab(39.12, 55.50, -60.21)
CIE-LCHlch(39.12, 81.88, 312.67°)
OKLaboklab(49.99% 0.1102 -0.1715)
OKLCHoklch(49.99% 0.204 302.7)
XYZxyz(19.1435, 10.7292, 50.9213)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36C0 #7AC036
analogous
#3736C0 #7C36C0 #C036BF
triadic
#7C36C0 #C07C36 #36C07C
tetradic
#7C36C0 #C03736 #7AC036 #36BFC0
square
#7C36C0 #C03736 #7AC036 #36BFC0
split-complementary
#7C36C0 #BFC036 #36C037
monochromatic
#3E1B60 #5D2990 #7C36C0 #9A61D2 #B990E0

Accessibility & contrast

On white

6.68
#7C36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7C36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36C0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36C0#FFFFFF#000000##FFFFFF
##7C36C01.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#6E5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c36c0;
/* rgb */ color: rgb(124, 54, 192);
/* oklch */ color: oklch(50.0% 0.204 302.7);
Tailwind
colors: {
  custom: {
    50: '#a873d4',
    500: '#7c36c0',
    950: '#000000',
  },
}
SCSS
$custom: #7c36c0;
$custom-light: #a873d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36c0",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 270.435,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.20383,
    "h": 302.7
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#7C36C0
secondary
#A8CB87
accent
#DF4893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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