#7C36BB#7C36BB

#7C36BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.199 H 304.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7C36BB
RGBrgb(124, 54, 187)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 73%)
CMYKcmyk(33.7%, 71.1%, 0%, 26.7%)
CIE-LABlab(38.74, 54.31, -57.88)
CIE-LCHlch(38.74, 79.37, 313.18°)
OKLaboklab(49.61% 0.111 -0.1647)
OKLCHoklch(49.61% 0.199 304)
XYZxyz(18.5989, 10.5113, 48.0531)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36BB #75BB36
analogous
#3936BB #7C36BB #BB36B8
triadic
#7C36BB #BB7C36 #36BB7C
tetradic
#7C36BB #BB3936 #75BB36 #36B8BB
square
#7C36BB #BB3936 #75BB36 #36B8BB
split-complementary
#7C36BB #B8BB36 #36BB39
monochromatic
#3D1B5C #5D288C #7C36BB #9A5ED0 #B88DDE

Accessibility & contrast

On white

6.77
#7C36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7C36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36BB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36BB#FFFFFF#000000##FFFFFF
##7C36BB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#705575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c36bb;
/* rgb */ color: rgb(124, 54, 187);
/* oklch */ color: oklch(49.6% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#a773d0',
    500: '#7c36bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c36bb;
$custom-light: #a773d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36bb",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 271.579,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.1986,
    "h": 304
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#7C36BB
secondary
#A5C984
accent
#DF4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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