#7C36BE#7C36BE

#7C36BE is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.202 H 303.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7C36BE
RGBrgb(124, 54, 190)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 72%, 75%)
CMYKcmyk(34.7%, 71.6%, 0%, 25.5%)
CIE-LABlab(38.97, 55.02, -59.28)
CIE-LCHlch(38.97, 80.88, 312.87°)
OKLaboklab(49.84% 0.1105 -0.1688)
OKLCHoklch(49.84% 0.202 303.2)
XYZxyz(18.9234, 10.6411, 49.7622)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36BE #78BE36
analogous
#3836BE #7C36BE #BE36BC
triadic
#7C36BE #BE7C36 #36BE7C
tetradic
#7C36BE #BE3836 #78BE36 #36BCBE
square
#7C36BE #BE3836 #78BE36 #36BCBE
split-complementary
#7C36BE #BCBE36 #36BE38
monochromatic
#3E1B5F #5D288E #7C36BE #9A60D2 #B88FDF

Accessibility & contrast

On white

6.71
#7C36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7C36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36BE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36BE#FFFFFF#000000##FFFFFF
##7C36BE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6F5777
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c36be;
/* rgb */ color: rgb(124, 54, 190);
/* oklch */ color: oklch(49.8% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#a773d2',
    500: '#7c36be',
    950: '#000000',
  },
}
SCSS
$custom: #7c36be;
$custom-light: #a773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36be",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 270.882,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.20174,
    "h": 303.2
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#7C36BE
secondary
#A7CA86
accent
#DF4992
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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