#7F36AA#7F36AA

#7F36AA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.182 H 310.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7F36AA
RGBrgb(127, 54, 170)
HSLhsl(278, 52%, 44%)
HSVhsv(278, 68%, 67%)
CMYKcmyk(25.3%, 68.2%, 0%, 33.3%)
CIE-LABlab(37.94, 51.01, -49.10)
CIE-LCHlch(37.94, 70.80, 316.09°)
OKLaboklab(48.74% 0.1173 -0.1388)
OKLCHoklch(48.74% 0.182 310.2)
XYZxyz(17.3259, 10.0530, 39.0501)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36AA #61AA36
analogous
#4536AA #7F36AA #AA369B
triadic
#7F36AA #AA7F36 #36AA7F
tetradic
#7F36AA #AA4536 #61AA36 #369BAA
square
#7F36AA #AA4536 #61AA36 #369BAA
split-complementary
#7F36AA #9BAA36 #36AA45
monochromatic
#3A184D #5C277C #7F36AA #9E54C9 #B883D8

Accessibility & contrast

On white

6.98
#7F36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7F36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36AA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36AA#FFFFFF#000000##FFFFFF
##7F36AA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#245AA7
Tritanopia (blue-blind)
#794E6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f36aa;
/* rgb */ color: rgb(127, 54, 170);
/* oklch */ color: oklch(48.7% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#a873c4',
    500: '#7f36aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f36aa;
$custom-light: #a873c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36aa",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 277.759,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.18172,
    "h": 310.2
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#7F36AA
secondary
#95C17B
accent
#DB4D81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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