#7C36BD#7C36BD

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

Color values

HEX#7C36BD
RGBrgb(124, 54, 189)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 71%, 74%)
CMYKcmyk(34.4%, 71.4%, 0%, 25.9%)
CIE-LABlab(38.89, 54.79, -58.82)
CIE-LCHlch(38.89, 80.38, 312.97°)
OKLaboklab(49.76% 0.1107 -0.1674)
OKLCHoklch(49.76% 0.201 303.5)
XYZxyz(18.8145, 10.5976, 49.1886)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36BD #77BD36
analogous
#3836BD #7C36BD #BD36BB
triadic
#7C36BD #BD7C36 #36BD7C
tetradic
#7C36BD #BD3836 #77BD36 #36BBBD
square
#7C36BD #BD3836 #77BD36 #36BBBD
split-complementary
#7C36BD #BBBD36 #36BD38
monochromatic
#3E1B5E #5D288D #7C36BD #9A5FD1 #B88FDF

Accessibility & contrast

On white

6.73
#7C36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7C36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36BD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36BD#FFFFFF#000000##FFFFFF
##7C36BD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#6F5676
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c36bd;
/* rgb */ color: rgb(124, 54, 189);
/* oklch */ color: oklch(49.8% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#a773d2',
    500: '#7c36bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c36bd;
$custom-light: #a773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36bd",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 271.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.20069,
    "h": 303.5
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#7C36BD
secondary
#A6C985
accent
#DF4991
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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