#7D36BE#7D36BE

#7D36BE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.202 H 303.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7D36BE
RGBrgb(125, 54, 190)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 72%, 75%)
CMYKcmyk(34.2%, 71.6%, 0%, 25.5%)
CIE-LABlab(39.10, 55.21, -59.07)
CIE-LCHlch(39.10, 80.85, 313.07°)
OKLaboklab(49.96% 0.1119 -0.1681)
OKLCHoklch(49.96% 0.202 303.6)
XYZxyz(19.0687, 10.7160, 49.7690)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36BE #77BE36
analogous
#3936BE #7D36BE #BE36BB
triadic
#7D36BE #BE7D36 #36BE7D
tetradic
#7D36BE #BE3936 #77BE36 #36BBBE
square
#7D36BE #BE3936 #77BE36 #36BBBE
split-complementary
#7D36BE #BBBE36 #36BE39
monochromatic
#3E1B5F #5E288E #7D36BE #9B60D2 #B98FDF

Accessibility & contrast

On white

6.68
#7D36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7D36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36BE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36BE#FFFFFF#000000##FFFFFF
##7D36BE1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#705777
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d36be;
/* rgb */ color: rgb(125, 54, 190);
/* oklch */ color: oklch(50.0% 0.202 303.6);
Tailwind
colors: {
  custom: {
    50: '#a873d2',
    500: '#7d36be',
    950: '#000000',
  },
}
SCSS
$custom: #7d36be;
$custom-light: #a873d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36be",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 271.324,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.20195,
    "h": 303.6
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#7D36BE
secondary
#A6CA86
accent
#DF4991
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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