#8D36BB#8D36BB

#8D36BB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.203 H 311.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D36BB
RGBrgb(141, 54, 187)
HSLhsl(279, 55%, 47%)
HSVhsv(279, 71%, 73%)
CMYKcmyk(24.6%, 71.1%, 0%, 26.7%)
CIE-LABlab(41.04, 57.71, -54.06)
CIE-LCHlch(41.04, 79.07, 316.87°)
OKLaboklab(51.73% 0.1339 -0.1529)
OKLCHoklch(51.73% 0.203 311.2)
XYZxyz(21.2716, 11.8894, 48.1784)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36BB #64BB36
analogous
#4A36BB #8D36BB #BB36A7
triadic
#8D36BB #BB8D36 #36BB8D
tetradic
#8D36BB #BB4A36 #64BB36 #36A7BB
square
#8D36BB #BB4A36 #64BB36 #36A7BB
split-complementary
#8D36BB #A7BB36 #36BB4A
monochromatic
#451B5C #69288C #8D36BB #A95ED0 #C28DDE

Accessibility & contrast

On white

6.22
#8D36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36BB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36BB#FFFFFF#000000##FFFFFF
##8D36BB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#875375
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d36bb;
/* rgb */ color: rgb(141, 54, 187);
/* oklch */ color: oklch(51.7% 0.203 311.2);
Tailwind
colors: {
  custom: {
    50: '#b375d0',
    500: '#8d36bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d36bb;
$custom-light: #b375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36bb",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 279.248,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.20319,
    "h": 311.2
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#8D36BB
secondary
#9CC984
accent
#DF497D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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