#7F36AF#7F36AF

#7F36AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 308.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7F36AF
RGBrgb(127, 54, 175)
HSLhsl(276, 53%, 45%)
HSVhsv(276, 69%, 69%)
CMYKcmyk(27.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(38.28, 52.14, -51.53)
CIE-LCHlch(38.28, 73.30, 315.34°)
OKLaboklab(49.09% 0.1168 -0.1459)
OKLCHoklch(49.09% 0.187 308.7)
XYZxyz(17.8079, 10.2458, 41.5887)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36AF #66AF36
analogous
#4236AF #7F36AF #AF36A3
triadic
#7F36AF #AF7F36 #36AF7F
tetradic
#7F36AF #AF4236 #66AF36 #36A3AF
square
#7F36AF #AF4236 #66AF36 #36A3AF
split-complementary
#7F36AF #A3AF36 #36AF42
monochromatic
#3B1951 #5D2880 #7F36AF #9D57CB #B886DA

Accessibility & contrast

On white

6.89
#7F36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7F36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36AF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36AF#FFFFFF#000000##FFFFFF
##7F36AF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f36af;
/* rgb */ color: rgb(127, 54, 175);
/* oklch */ color: oklch(49.1% 0.187 308.7);
Tailwind
colors: {
  custom: {
    50: '#a873c8',
    500: '#7f36af',
    950: '#000000',
  },
}
SCSS
$custom: #7f36af;
$custom-light: #a873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36af",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 276.198,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.18688,
    "h": 308.7
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#7F36AF
secondary
#99C37D
accent
#DC4C85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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