#7F36C9#7F36C9

#7F36C9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.214 H 301.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7F36C9
RGBrgb(127, 54, 201)
HSLhsl(270, 58%, 50%)
HSVhsv(270, 73%, 79%)
CMYKcmyk(36.8%, 73.1%, 0%, 21.2%)
CIE-LABlab(40.19, 58.19, -63.70)
CIE-LCHlch(40.19, 86.27, 312.41°)
OKLaboklab(51.05% 0.1126 -0.1816)
OKLCHoklch(51.05% 0.214 301.8)
XYZxyz(20.6116, 11.3673, 56.3552)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36C9 #80C936
analogous
#3636C9 #7F36C9 #C936C9
triadic
#7F36C9 #C97F36 #36C97F
tetradic
#7F36C9 #C93636 #80C936 #36C9C9
square
#7F36C9 #C93636 #80C936 #36C9C9
split-complementary
#7F36C9 #C9C936 #36C936
monochromatic
#421C69 #612999 #7F36C9 #9E66D6 #BC96E3

Accessibility & contrast

On white

6.42
#7F36C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7F36C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36C9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36C9#FFFFFF#000000##FFFFFF
##7F36C91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#6F5B7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f36c9;
/* rgb */ color: rgb(127, 54, 201);
/* oklch */ color: oklch(51.0% 0.214 301.8);
Tailwind
colors: {
  custom: {
    50: '#aa74da',
    500: '#7f36c9',
    950: '#000000',
  },
}
SCSS
$custom: #7f36c9;
$custom-light: #aa74da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36c9",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 269.796,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.21371,
    "h": 301.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#7F36C9
secondary
#AECE8C
accent
#E14794
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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