#7F36BC#7F36BC

#7F36BC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.200 H 305.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7F36BC
RGBrgb(127, 54, 188)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 74%)
CMYKcmyk(32.4%, 71.3%, 0%, 26.3%)
CIE-LABlab(39.21, 55.13, -57.70)
CIE-LCHlch(39.21, 79.80, 313.70°)
OKLaboklab(50.04% 0.115 -0.164)
OKLCHoklch(50.04% 0.2 305)
XYZxyz(19.1466, 10.7813, 48.6395)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36BC #73BC36
analogous
#3C36BC #7F36BC #BC36B6
triadic
#7F36BC #BC7F36 #36BC7F
tetradic
#7F36BC #BC3C36 #73BC36 #36B6BC
square
#7F36BC #BC3C36 #73BC36 #36B6BC
split-complementary
#7F36BC #B6BC36 #36BC3C
monochromatic
#3F1B5D #5F288C #7F36BC #9D5ED1 #BA8EDF

Accessibility & contrast

On white

6.65
#7F36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36BC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36BC#FFFFFF#000000##FFFFFF
##7F36BC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#745575
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f36bc;
/* rgb */ color: rgb(127, 54, 188);
/* oklch */ color: oklch(50.0% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#a973d1',
    500: '#7f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f36bc;
$custom-light: #a973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36bc",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 272.687,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.20031,
    "h": 305
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#7F36BC
secondary
#A4C985
accent
#DF498D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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