#7D36BC#7D36BC

#7D36BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.200 H 304.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D36BC
RGBrgb(125, 54, 188)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(33.5%, 71.3%, 0%, 26.3%)
CIE-LABlab(38.95, 54.74, -58.13)
CIE-LCHlch(38.95, 79.85, 313.28°)
OKLaboklab(49.8% 0.1122 -0.1654)
OKLCHoklch(49.8% 0.2 304.2)
XYZxyz(18.8516, 10.6292, 48.6257)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36BC #75BC36
analogous
#3A36BC #7D36BC #BC36B8
triadic
#7D36BC #BC7D36 #36BC7D
tetradic
#7D36BC #BC3A36 #75BC36 #36B8BC
square
#7D36BC #BC3A36 #75BC36 #36B8BC
split-complementary
#7D36BC #B8BC36 #36BC3A
monochromatic
#3E1B5D #5D288C #7D36BC #9B5ED1 #B98EDF

Accessibility & contrast

On white

6.72
#7D36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36BC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36BC#FFFFFF#000000##FFFFFF
##7D36BC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#715675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d36bc;
/* rgb */ color: rgb(125, 54, 188);
/* oklch */ color: oklch(49.8% 0.200 304.2);
Tailwind
colors: {
  custom: {
    50: '#a873d1',
    500: '#7d36bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d36bc;
$custom-light: #a873d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36bc",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 271.791,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.19986,
    "h": 304.2
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#7D36BC
secondary
#A5C985
accent
#DF498F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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