#7F36C0#7F36C0

#7F36C0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.204 H 304.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7F36C0
RGBrgb(127, 54, 192)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.9%, 71.9%, 0%, 24.7%)
CIE-LABlab(39.51, 56.07, -59.56)
CIE-LCHlch(39.51, 81.80, 313.27°)
OKLaboklab(50.35% 0.1143 -0.1695)
OKLCHoklch(50.35% 0.204 304)
XYZxyz(19.5838, 10.9562, 50.9420)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36C0 #77C036
analogous
#3A36C0 #7F36C0 #C036BC
triadic
#7F36C0 #C07F36 #36C07F
tetradic
#7F36C0 #C03A36 #77C036 #36BCC0
square
#7F36C0 #C03A36 #77C036 #36BCC0
split-complementary
#7F36C0 #BCC036 #36C03A
monochromatic
#401B60 #5F2990 #7F36C0 #9D61D2 #BB90E0

Accessibility & contrast

On white

6.58
#7F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36C0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36C0#FFFFFF#000000##FFFFFF
##7F36C01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#725778
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f36c0;
/* rgb */ color: rgb(127, 54, 192);
/* oklch */ color: oklch(50.3% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#a973d4',
    500: '#7f36c0',
    950: '#000000',
  },
}
SCSS
$custom: #7f36c0;
$custom-light: #a973d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36c0",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 271.739,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.20444,
    "h": 304
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#7F36C0
secondary
#A7CB87
accent
#DF4890
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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