#7C36BA#7C36BA

#7C36BA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.198 H 304.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C36BA
RGBrgb(124, 54, 186)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 73%)
CMYKcmyk(33.3%, 71%, 0%, 27.1%)
CIE-LABlab(38.67, 54.08, -57.42)
CIE-LCHlch(38.67, 78.87, 313.28°)
OKLaboklab(49.53% 0.1112 -0.1633)
OKLCHoklch(49.53% 0.198 304.3)
XYZxyz(18.4923, 10.4687, 47.4913)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36BA #74BA36
analogous
#3A36BA #7C36BA #BA36B6
triadic
#7C36BA #BA7C36 #36BA7C
tetradic
#7C36BA #BA3A36 #74BA36 #36B6BA
square
#7C36BA #BA3A36 #74BA36 #36B6BA
split-complementary
#7C36BA #B6BA36 #36BA3A
monochromatic
#3D1A5B #5C288B #7C36BA #9A5DD0 #B88DDE

Accessibility & contrast

On white

6.79
#7C36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36BA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36BA#FFFFFF#000000##FFFFFF
##7C36BA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#705574
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c36ba;
/* rgb */ color: rgb(124, 54, 186);
/* oklch */ color: oklch(49.5% 0.198 304.3);
Tailwind
colors: {
  custom: {
    50: '#a773d0',
    500: '#7c36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c36ba;
$custom-light: #a773d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36ba",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 271.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.19755,
    "h": 304.3
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#7C36BA
secondary
#A4C884
accent
#DE498F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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