#7C36B8#7C36B8

#7C36B8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.195 H 304.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7C36B8
RGBrgb(124, 54, 184)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 72%)
CMYKcmyk(32.6%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.52, 53.60, -56.48)
CIE-LCHlch(38.52, 77.87, 313.51°)
OKLaboklab(49.38% 0.1115 -0.1605)
OKLCHoklch(49.38% 0.195 304.8)
XYZxyz(18.2811, 10.3842, 46.3794)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36B8 #72B836
analogous
#3B36B8 #7C36B8 #B836B3
triadic
#7C36B8 #B87C36 #36B87C
tetradic
#7C36B8 #B83B36 #72B836 #36B3B8
square
#7C36B8 #B83B36 #72B836 #36B3B8
split-complementary
#7C36B8 #B3B836 #36B83B
monochromatic
#3C1A59 #5C2889 #7C36B8 #9A5CCF #B78BDD

Accessibility & contrast

On white

6.83
#7C36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36B8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36B8#FFFFFF#000000##FFFFFF
##7C36B81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#715473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c36b8;
/* rgb */ color: rgb(124, 54, 184);
/* oklch */ color: oklch(49.4% 0.195 304.8);
Tailwind
colors: {
  custom: {
    50: '#a773ce',
    500: '#7c36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c36b8;
$custom-light: #a773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36b8",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 272.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.19546,
    "h": 304.8
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#7C36B8
secondary
#A2C782
accent
#DE4A8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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