#7F36C4#7F36C4

#7F36C4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.209 H 303.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F36C4
RGBrgb(127, 54, 196)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 72%, 77%)
CMYKcmyk(35.2%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.81, 57.01, -61.41)
CIE-LCHlch(39.81, 83.79, 312.87°)
OKLaboklab(50.66% 0.1136 -0.1749)
OKLCHoklch(50.66% 0.209 303)
XYZxyz(20.0330, 11.1359, 53.3079)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36C4 #7BC436
analogous
#3836C4 #7F36C4 #C436C2
triadic
#7F36C4 #C47F36 #36C47F
tetradic
#7F36C4 #C43836 #7BC436 #36C2C4
square
#7F36C4 #C43836 #7BC436 #36C2C4
split-complementary
#7F36C4 #C2C436 #36C438
monochromatic
#411C64 #602994 #7F36C4 #9D63D4 #BB93E1

Accessibility & contrast

On white

6.51
#7F36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36C4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36C4#FFFFFF#000000##FFFFFF
##7F36C41.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#71597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f36c4;
/* rgb */ color: rgb(127, 54, 196);
/* oklch */ color: oklch(50.7% 0.209 303.0);
Tailwind
colors: {
  custom: {
    50: '#aa74d7',
    500: '#7f36c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f36c4;
$custom-light: #aa74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36c4",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 270.845,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.20857,
    "h": 303
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#7F36C4
secondary
#AACC89
accent
#E04892
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #7F36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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