#7C36C4#7C36C4

#7C36C4 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.208 H 301.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7C36C4
RGBrgb(124, 54, 196)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 72%, 77%)
CMYKcmyk(36.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.43, 56.46, -62.05)
CIE-LCHlch(39.43, 83.89, 312.30°)
OKLaboklab(50.3% 0.1094 -0.1769)
OKLCHoklch(50.3% 0.208 301.7)
XYZxyz(19.5928, 10.9089, 53.2872)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36C4 #7EC436
analogous
#3637C4 #7C36C4 #C336C4
triadic
#7C36C4 #C47C36 #36C47C
tetradic
#7C36C4 #C43637 #7EC436 #36C4C3
square
#7C36C4 #C43637 #7EC436 #36C4C3
split-complementary
#7C36C4 #C4C336 #37C436
monochromatic
#3F1C64 #5E2994 #7C36C4 #9B63D4 #BA93E1

Accessibility & contrast

On white

6.60
#7C36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36C4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36C4#FFFFFF#000000##FFFFFF
##7C36C41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#6D597A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c36c4;
/* rgb */ color: rgb(124, 54, 196);
/* oklch */ color: oklch(50.3% 0.208 301.7);
Tailwind
colors: {
  custom: {
    50: '#a873d7',
    500: '#7c36c4',
    950: '#000000',
  },
}
SCSS
$custom: #7c36c4;
$custom-light: #a873d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36c4",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 269.577,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.208,
    "h": 301.7
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#7C36C4
secondary
#ABCC89
accent
#E04895
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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