#7F36BD#7F36BD

#7F36BD is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.201 H 304.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7F36BD
RGBrgb(127, 54, 189)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(32.8%, 71.4%, 0%, 25.9%)
CIE-LABlab(39.28, 55.36, -58.17)
CIE-LCHlch(39.28, 80.30, 313.59°)
OKLaboklab(50.12% 0.1148 -0.1654)
OKLCHoklch(50.12% 0.201 304.8)
XYZxyz(19.2548, 10.8246, 49.2092)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36BD #74BD36
analogous
#3B36BD #7F36BD #BD36B8
triadic
#7F36BD #BD7F36 #36BD7F
tetradic
#7F36BD #BD3B36 #74BD36 #36B8BD
square
#7F36BD #BD3B36 #74BD36 #36B8BD
split-complementary
#7F36BD #B8BD36 #36BD3B
monochromatic
#3F1B5E #5F288D #7F36BD #9D5FD1 #BA8FDF

Accessibility & contrast

On white

6.64
#7F36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F36BD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36BD#FFFFFF#000000##FFFFFF
##7F36BD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#735676
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f36bd;
/* rgb */ color: rgb(127, 54, 189);
/* oklch */ color: oklch(50.1% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7f36bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f36bd;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36bd",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 272.444,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.20135,
    "h": 304.8
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#7F36BD
secondary
#A5C985
accent
#DF498E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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