#7C36C6#7C36C6

#7C36C6 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.210 H 301.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7C36C6
RGBrgb(124, 54, 198)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 73%, 78%)
CMYKcmyk(37.4%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.58, 56.94, -62.96)
CIE-LCHlch(39.58, 84.89, 312.12°)
OKLaboklab(50.46% 0.109 -0.1796)
OKLCHoklch(50.46% 0.21 301.3)
XYZxyz(19.8219, 11.0005, 54.4941)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36C6 #80C636
analogous
#3638C6 #7C36C6 #C436C6
triadic
#7C36C6 #C67C36 #36C67C
tetradic
#7C36C6 #C63638 #80C636 #36C6C4
square
#7C36C6 #C63638 #80C636 #36C6C4
split-complementary
#7C36C6 #C6C436 #38C636
monochromatic
#401C66 #5E2996 #7C36C6 #9B64D5 #BA94E2

Accessibility & contrast

On white

6.56
#7C36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7C36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36C6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36C6#FFFFFF#000000##FFFFFF
##7C36C61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6C5A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c36c6;
/* rgb */ color: rgb(124, 54, 198);
/* oklch */ color: oklch(50.5% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#a873d8',
    500: '#7c36c6',
    950: '#000000',
  },
}
SCSS
$custom: #7c36c6;
$custom-light: #a873d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36c6",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 269.167,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.21009,
    "h": 301.3
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#7C36C6
secondary
#ADCD8B
accent
#E04796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7C36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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