#7D36C2#7D36C2

#7D36C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.206 H 302.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7D36C2
RGBrgb(125, 54, 194)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(35.6%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.40, 56.16, -60.92)
CIE-LCHlch(39.40, 82.86, 312.67°)
OKLaboklab(50.27% 0.1112 -0.1735)
OKLCHoklch(50.27% 0.206 302.6)
XYZxyz(19.5119, 10.8933, 52.1031)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36C2 #7BC236
analogous
#3736C2 #7D36C2 #C236C1
triadic
#7D36C2 #C27D36 #36C27D
tetradic
#7D36C2 #C23736 #7BC236 #36C1C2
square
#7D36C2 #C23736 #7BC236 #36C1C2
split-complementary
#7D36C2 #C1C236 #36C237
monochromatic
#3F1B62 #5E2992 #7D36C2 #9B62D3 #BA92E1

Accessibility & contrast

On white

6.61
#7D36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36C2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36C2#FFFFFF#000000##FFFFFF
##7D36C21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#6F5879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d36c2;
/* rgb */ color: rgb(125, 54, 194);
/* oklch */ color: oklch(50.3% 0.206 302.6);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7d36c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d36c2;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36c2",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 270.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.2061,
    "h": 302.6
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#7D36C2
secondary
#A9CC88
accent
#E04893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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