#7F36B8#7F36B8

#7F36B8 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.196 H 306.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F36B8
RGBrgb(127, 54, 184)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 72%)
CMYKcmyk(31%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.92, 54.20, -55.82)
CIE-LCHlch(38.92, 77.81, 314.16°)
OKLaboklab(49.75% 0.1156 -0.1585)
OKLCHoklch(49.75% 0.196 306.1)
XYZxyz(18.7214, 10.6112, 46.4000)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36B8 #6FB836
analogous
#3E36B8 #7F36B8 #B836B0
triadic
#7F36B8 #B87F36 #36B87F
tetradic
#7F36B8 #B83E36 #6FB836 #36B0B8
square
#7F36B8 #B83E36 #6FB836 #36B0B8
split-complementary
#7F36B8 #B0B836 #36B83E
monochromatic
#3E1A59 #5E2889 #7F36B8 #9D5CCF #B98BDD

Accessibility & contrast

On white

6.73
#7F36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36B8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36B8#FFFFFF#000000##FFFFFF
##7F36B81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#015CB5
Tritanopia (blue-blind)
#755473
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f36b8;
/* rgb */ color: rgb(127, 54, 184);
/* oklch */ color: oklch(49.7% 0.196 306.1);
Tailwind
colors: {
  custom: {
    50: '#a973ce',
    500: '#7f36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7f36b8;
$custom-light: #a973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36b8",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 273.692,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.19619,
    "h": 306.1
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#7F36B8
secondary
#A1C782
accent
#DE4A8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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