#7F36C3#7F36C3

#7F36C3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.208 H 303.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F36C3
RGBrgb(127, 54, 195)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 72%, 76%)
CMYKcmyk(34.9%, 72.3%, 0%, 23.5%)
CIE-LABlab(39.73, 56.77, -60.95)
CIE-LCHlch(39.73, 83.29, 312.97°)
OKLaboklab(50.58% 0.1138 -0.1736)
OKLCHoklch(50.58% 0.208 303.2)
XYZxyz(19.9196, 11.0905, 52.7104)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36C3 #7AC336
analogous
#3936C3 #7F36C3 #C336C1
triadic
#7F36C3 #C37F36 #36C37F
tetradic
#7F36C3 #C33936 #7AC336 #36C1C3
square
#7F36C3 #C33936 #7AC336 #36C1C3
split-complementary
#7F36C3 #C1C336 #36C339
monochromatic
#411B63 #602993 #7F36C3 #9D63D4 #BB92E1

Accessibility & contrast

On white

6.53
#7F36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36C3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36C3#FFFFFF#000000##FFFFFF
##7F36C31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#715879
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f36c3;
/* rgb */ color: rgb(127, 54, 195);
/* oklch */ color: oklch(50.6% 0.208 303.2);
Tailwind
colors: {
  custom: {
    50: '#aa74d6',
    500: '#7f36c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f36c3;
$custom-light: #aa74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36c3",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 271.064,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.20754,
    "h": 303.2
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#7F36C3
secondary
#A9CC89
accent
#E04891
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #7F36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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