#7C36AF#7C36AF

#7C36AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.186 H 307.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7C36AF
RGBrgb(124, 54, 175)
HSLhsl(275, 53%, 45%)
HSVhsv(275, 69%, 69%)
CMYKcmyk(29.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(37.88, 51.50, -52.20)
CIE-LCHlch(37.88, 73.33, 314.62°)
OKLaboklab(48.71% 0.1128 -0.148)
OKLCHoklch(48.71% 0.186 307.3)
XYZxyz(17.3676, 10.0188, 41.5680)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36AF #69AF36
analogous
#4036AF #7C36AF #AF36A5
triadic
#7C36AF #AF7C36 #36AF7C
tetradic
#7C36AF #AF4036 #69AF36 #36A5AF
square
#7C36AF #AF4036 #69AF36 #36A5AF
split-complementary
#7C36AF #A5AF36 #36AF40
monochromatic
#3A1951 #5B2880 #7C36AF #9A57CB #B686DA

Accessibility & contrast

On white

6.99
#7C36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7C36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36AF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36AF#FFFFFF#000000##FFFFFF
##7C36AF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#165AAC
Tritanopia (blue-blind)
#74516E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c36af;
/* rgb */ color: rgb(124, 54, 175);
/* oklch */ color: oklch(48.7% 0.186 307.3);
Tailwind
colors: {
  custom: {
    50: '#a673c8',
    500: '#7c36af',
    950: '#000000',
  },
}
SCSS
$custom: #7c36af;
$custom-light: #a673c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36af",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 274.711,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.18603,
    "h": 307.3
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#7C36AF
secondary
#9BC37D
accent
#DC4C89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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