#7F36BF#7F36BF

#7F36BF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.203 H 304.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7F36BF
RGBrgb(127, 54, 191)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.5%, 71.7%, 0%, 25.1%)
CIE-LABlab(39.43, 55.83, -59.10)
CIE-LCHlch(39.43, 81.30, 313.37°)
OKLaboklab(50.27% 0.1145 -0.1681)
OKLCHoklch(50.27% 0.203 304.3)
XYZxyz(19.4734, 10.9120, 50.3604)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36BF #76BF36
analogous
#3B36BF #7F36BF #BF36BA
triadic
#7F36BF #BF7F36 #36BF7F
tetradic
#7F36BF #BF3B36 #76BF36 #36BABF
square
#7F36BF #BF3B36 #76BF36 #36BABF
split-complementary
#7F36BF #BABF36 #36BF3B
monochromatic
#401B60 #5F298F #7F36BF #9D60D2 #BA90E0

Accessibility & contrast

On white

6.60
#7F36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7F36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36BF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36BF#FFFFFF#000000##FFFFFF
##7F36BF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#735777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f36bf;
/* rgb */ color: rgb(127, 54, 191);
/* oklch */ color: oklch(50.3% 0.203 304.3);
Tailwind
colors: {
  custom: {
    50: '#a973d3',
    500: '#7f36bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f36bf;
$custom-light: #a973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36bf",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 271.971,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.20342,
    "h": 304.3
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#7F36BF
secondary
#A6CA87
accent
#DF498F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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