#7D36C3#7D36C3

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

Color values

HEX#7D36C3
RGBrgb(125, 54, 195)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(35.9%, 72.3%, 0%, 23.5%)
CIE-LABlab(39.48, 56.40, -61.38)
CIE-LCHlch(39.48, 83.35, 312.58°)
OKLaboklab(50.34% 0.111 -0.1749)
OKLCHoklch(50.34% 0.207 302.4)
XYZxyz(19.6246, 10.9384, 52.6966)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36C3 #7CC336
analogous
#3736C3 #7D36C3 #C336C3
triadic
#7D36C3 #C37D36 #36C37D
tetradic
#7D36C3 #C33736 #7CC336 #36C3C3
square
#7D36C3 #C33736 #7CC336 #36C3C3
split-complementary
#7D36C3 #C3C336 #36C337
monochromatic
#401B63 #5E2993 #7D36C3 #9C63D4 #BA92E1

Accessibility & contrast

On white

6.59
#7D36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36C3#FFFFFF#000000##FFFFFF
##7D36C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6E5979
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d36c3;
/* rgb */ color: rgb(125, 54, 195);
/* oklch */ color: oklch(50.3% 0.207 302.4);
Tailwind
colors: {
  custom: {
    50: '#a873d6',
    500: '#7d36c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d36c3;
$custom-light: #a873d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36c3",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 270.213,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.20714,
    "h": 302.4
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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