#7F36AE#7F36AE

#7F36AE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.186 H 309.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7F36AE
RGBrgb(127, 54, 174)
HSLhsl(277, 53%, 45%)
HSVhsv(277, 69%, 68%)
CMYKcmyk(27%, 69%, 0%, 31.8%)
CIE-LABlab(38.21, 51.91, -51.04)
CIE-LCHlch(38.21, 72.80, 315.48°)
OKLaboklab(49.02% 0.1169 -0.1445)
OKLCHoklch(49.02% 0.186 309)
XYZxyz(17.7100, 10.2067, 41.0733)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36AE #65AE36
analogous
#4336AE #7F36AE #AE36A1
triadic
#7F36AE #AE7F36 #36AE7F
tetradic
#7F36AE #AE4336 #65AE36 #36A1AE
square
#7F36AE #AE4336 #65AE36 #36A1AE
split-complementary
#7F36AE #A1AE36 #36AE43
monochromatic
#3B1951 #5D287F #7F36AE #9D56CB #B885D9

Accessibility & contrast

On white

6.91
#7F36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7F36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36AE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36AE#FFFFFF#000000##FFFFFF
##7F36AE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#78506E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f36ae;
/* rgb */ color: rgb(127, 54, 174);
/* oklch */ color: oklch(49.0% 0.186 309.0);
Tailwind
colors: {
  custom: {
    50: '#a873c7',
    500: '#7f36ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f36ae;
$custom-light: #a873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36ae",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 276.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.18585,
    "h": 309
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#7F36AE
secondary
#98C37D
accent
#DC4C84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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