#7C36C2#7C36C2

#7C36C2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.206 H 302.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7C36C2
RGBrgb(124, 54, 194)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(36.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.27, 55.98, -61.13)
CIE-LCHlch(39.27, 82.89, 312.48°)
OKLaboklab(50.15% 0.1098 -0.1742)
OKLCHoklch(50.15% 0.206 302.2)
XYZxyz(19.3666, 10.8184, 52.0963)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36C2 #7CC236
analogous
#3636C2 #7C36C2 #C236C2
triadic
#7C36C2 #C27C36 #36C27C
tetradic
#7C36C2 #C23636 #7CC236 #36C2C2
square
#7C36C2 #C23636 #7CC236 #36C2C2
split-complementary
#7C36C2 #C2C236 #36C236
monochromatic
#3F1B62 #5D2992 #7C36C2 #9B62D3 #B992E1

Accessibility & contrast

On white

6.64
#7C36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7C36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36C2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36C2#FFFFFF#000000##FFFFFF
##7C36C21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#6D5879
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c36c2;
/* rgb */ color: rgb(124, 54, 194);
/* oklch */ color: oklch(50.1% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7c36c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c36c2;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36c2",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.20591,
    "h": 302.2
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#7C36C2
secondary
#AACC88
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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