#7D36CB#7D36CB

#7D36CB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.215 H 300.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D36CB
RGBrgb(125, 54, 203)
HSLhsl(269, 59%, 50%)
HSVhsv(269, 73%, 80%)
CMYKcmyk(38.4%, 73.4%, 0%, 20.4%)
CIE-LABlab(40.10, 58.31, -65.02)
CIE-LCHlch(40.10, 87.34, 311.89°)
OKLaboklab(50.98% 0.1094 -0.1856)
OKLCHoklch(50.98% 0.215 300.5)
XYZxyz(20.5534, 11.3099, 57.5885)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36CB #84CB36
analogous
#3639CB #7D36CB #C836CB
triadic
#7D36CB #CB7D36 #36CB7D
tetradic
#7D36CB #CB3639 #84CB36 #36CBC8
square
#7D36CB #CB3639 #84CB36 #36CBC8
split-complementary
#7D36CB #CBC836 #39CB36
monochromatic
#411C6B #5F289C #7D36CB #9C67D8 #BC97E4

Accessibility & contrast

On white

6.44
#7D36CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D36CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36CB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36CB#FFFFFF#000000##FFFFFF
##7D36CB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#6B5C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d36cb;
/* rgb */ color: rgb(125, 54, 203);
/* oklch */ color: oklch(51.0% 0.215 300.5);
Tailwind
colors: {
  custom: {
    50: '#a974dc',
    500: '#7d36cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d36cb;
$custom-light: #a974dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36cb",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 268.591,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.21545,
    "h": 300.5
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#7D36CB
secondary
#B0D08D
accent
#E24698
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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