#7C36C3#7C36C3

#7C36C3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.207 H 302.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C36C3
RGBrgb(124, 54, 195)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(36.4%, 72.3%, 0%, 23.5%)
CIE-LABlab(39.35, 56.22, -61.59)
CIE-LCHlch(39.35, 83.39, 312.39°)
OKLaboklab(50.23% 0.1096 -0.1756)
OKLCHoklch(50.23% 0.207 302)
XYZxyz(19.4793, 10.8635, 52.6898)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36C3 #7DC336
analogous
#3637C3 #7C36C3 #C336C3
triadic
#7C36C3 #C37C36 #36C37C
tetradic
#7C36C3 #C33637 #7DC336 #36C3C3
square
#7C36C3 #C33637 #7DC336 #36C3C3
split-complementary
#7C36C3 #C3C336 #37C336
monochromatic
#3F1B63 #5E2993 #7C36C3 #9B63D4 #B992E1

Accessibility & contrast

On white

6.62
#7C36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36C3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36C3#FFFFFF#000000##FFFFFF
##7C36C31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6D5979
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c36c3;
/* rgb */ color: rgb(124, 54, 195);
/* oklch */ color: oklch(50.2% 0.207 302.0);
Tailwind
colors: {
  custom: {
    50: '#a873d6',
    500: '#7c36c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c36c3;
$custom-light: #a873d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36c3",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 269.787,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.20696,
    "h": 302
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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