#8D36B9#8D36B9

#8D36B9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.201 H 311.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D36B9
RGBrgb(141, 54, 185)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(23.8%, 70.8%, 0%, 27.5%)
CIE-LABlab(40.90, 57.28, -53.10)
CIE-LCHlch(40.90, 78.11, 317.17°)
OKLaboklab(51.59% 0.1341 -0.15)
OKLCHoklch(51.59% 0.201 311.8)
XYZxyz(21.0590, 11.8044, 47.0587)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36B9 #62B936
analogous
#4B36B9 #8D36B9 #B936A4
triadic
#8D36B9 #B98D36 #36B98D
tetradic
#8D36B9 #B94B36 #62B936 #36A4B9
square
#8D36B9 #B94B36 #62B936 #36A4B9
split-complementary
#8D36B9 #A4B936 #36B94B
monochromatic
#451A5A #69288A #8D36B9 #A95DD0 #C28CDD

Accessibility & contrast

On white

6.25
#8D36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D36B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36B9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36B9#FFFFFF#000000##FFFFFF
##8D36B91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#2662B6
Tritanopia (blue-blind)
#885274
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d36b9;
/* rgb */ color: rgb(141, 54, 185);
/* oklch */ color: oklch(51.6% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#b275cf',
    500: '#8d36b9',
    950: '#000000',
  },
}
SCSS
$custom: #8d36b9;
$custom-light: #b275cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36b9",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 279.847,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.20125,
    "h": 311.8
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#8D36B9
secondary
#9AC883
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D36B9

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

Preview Lab → · Contrast checker → · Palette generator →

#8D36B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva