#7D36C0#7D36C0

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

Color values

HEX#7D36C0
RGBrgb(125, 54, 192)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 72%, 75%)
CMYKcmyk(34.9%, 71.9%, 0%, 24.7%)
CIE-LABlab(39.25, 55.69, -59.99)
CIE-LCHlch(39.25, 81.85, 312.87°)
OKLaboklab(50.11% 0.1115 -0.1708)
OKLCHoklch(50.11% 0.204 303.1)
XYZxyz(19.2888, 10.8041, 50.9282)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36C0 #79C036
analogous
#3836C0 #7D36C0 #C036BE
triadic
#7D36C0 #C07D36 #36C07D
tetradic
#7D36C0 #C03836 #79C036 #36BEC0
square
#7D36C0 #C03836 #79C036 #36BEC0
split-complementary
#7D36C0 #BEC036 #36C038
monochromatic
#3F1B60 #5E2990 #7D36C0 #9B61D2 #B990E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D36C0#FFFFFF#000000##FFFFFF
##7D36C01.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)
#005BC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#6F5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d36c0;
/* rgb */ color: rgb(125, 54, 192);
/* oklch */ color: oklch(50.1% 0.204 303.1);
Tailwind
colors: {
  custom: {
    50: '#a873d4',
    500: '#7d36c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d36c0;
$custom-light: #a873d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36c0",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 270.87,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.20403,
    "h": 303.1
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#7D36C0
secondary
#A8CB87
accent
#DF4892
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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