#7F36C5#7F36C5

#7F36C5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.210 H 302.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7F36C5
RGBrgb(127, 54, 197)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 77%)
CMYKcmyk(35.5%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.88, 57.24, -61.87)
CIE-LCHlch(39.88, 84.29, 312.78°)
OKLaboklab(50.74% 0.1134 -0.1763)
OKLCHoklch(50.74% 0.21 302.8)
XYZxyz(20.1472, 11.1816, 53.9093)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36C5 #7CC536
analogous
#3736C5 #7F36C5 #C536C4
triadic
#7F36C5 #C57F36 #36C57F
tetradic
#7F36C5 #C53736 #7CC536 #36C4C5
square
#7F36C5 #C53736 #7CC536 #36C4C5
split-complementary
#7F36C5 #C4C536 #36C537
monochromatic
#411C65 #602995 #7F36C5 #9D64D4 #BC94E2

Accessibility & contrast

On white

6.49
#7F36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36C5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36C5#FFFFFF#000000##FFFFFF
##7F36C51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f36c5;
/* rgb */ color: rgb(127, 54, 197);
/* oklch */ color: oklch(50.7% 0.210 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa74d8',
    500: '#7f36c5',
    950: '#000000',
  },
}
SCSS
$custom: #7f36c5;
$custom-light: #aa74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36c5",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 270.629,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.2096,
    "h": 302.8
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#7F36C5
secondary
#ABCD8A
accent
#E04892
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #7F36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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