#7D36B8#7D36B8

#7D36B8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.196 H 305.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7D36B8
RGBrgb(125, 54, 184)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 72%)
CMYKcmyk(32.1%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.65, 53.80, -56.26)
CIE-LCHlch(38.65, 77.84, 313.72°)
OKLaboklab(49.5% 0.1129 -0.1599)
OKLCHoklch(49.5% 0.196 305.2)
XYZxyz(18.4264, 10.4591, 46.3862)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36B8 #71B836
analogous
#3C36B8 #7D36B8 #B836B2
triadic
#7D36B8 #B87D36 #36B87D
tetradic
#7D36B8 #B83C36 #71B836 #36B2B8
square
#7D36B8 #B83C36 #71B836 #36B2B8
split-complementary
#7D36B8 #B2B836 #36B83C
monochromatic
#3D1A59 #5D2889 #7D36B8 #9B5CCF #B88BDD

Accessibility & contrast

On white

6.79
#7D36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D36B8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36B8#FFFFFF#000000##FFFFFF
##7D36B81.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#725473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d36b8;
/* rgb */ color: rgb(125, 54, 184);
/* oklch */ color: oklch(49.5% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#a873ce',
    500: '#7d36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d36b8;
$custom-light: #a873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36b8",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 272.769,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.1957,
    "h": 305.2
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#7D36B8
secondary
#A2C782
accent
#DE4A8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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