#7C36CA#7C36CA

#7C36CA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.214 H 300.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7C36CA
RGBrgb(124, 54, 202)
HSLhsl(268, 58%, 50%)
HSVhsv(268, 73%, 79%)
CMYKcmyk(38.6%, 73.3%, 0%, 20.8%)
CIE-LABlab(39.89, 57.90, -64.78)
CIE-LCHlch(39.89, 86.88, 311.79°)
OKLaboklab(50.78% 0.1082 -0.1849)
OKLCHoklch(50.78% 0.214 300.3)
XYZxyz(20.2894, 11.1875, 56.9561)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36CA #84CA36
analogous
#363ACA #7C36CA #C636CA
triadic
#7C36CA #CA7C36 #36CA7C
tetradic
#7C36CA #CA363A #84CA36 #36CAC6
square
#7C36CA #CA363A #84CA36 #36CAC6
split-complementary
#7C36CA #CAC636 #3ACA36
monochromatic
#411C6A #5E299A #7C36CA #9C66D7 #BB97E4

Accessibility & contrast

On white

6.49
#7C36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7C36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36CA#FFFFFF#000000##FFFFFF
##7C36CA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#6A5B7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c36ca;
/* rgb */ color: rgb(124, 54, 202);
/* oklch */ color: oklch(50.8% 0.214 300.3);
Tailwind
colors: {
  custom: {
    50: '#a874db',
    500: '#7c36ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c36ca;
$custom-light: #a874db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36ca",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 268.378,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.21424,
    "h": 300.3
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#7C36CA
secondary
#B0CF8D
accent
#E14698
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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