#8D36BD#8D36BD

#8D36BD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.205 H 310.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D36BD
RGBrgb(141, 54, 189)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(25.4%, 71.4%, 0%, 25.9%)
CIE-LABlab(41.18, 58.14, -55.01)
CIE-LCHlch(41.18, 80.04, 316.58°)
OKLaboklab(51.87% 0.1336 -0.1556)
OKLCHoklch(51.87% 0.205 310.6)
XYZxyz(21.4872, 11.9757, 49.3139)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36BD #66BD36
analogous
#4A36BD #8D36BD #BD36A9
triadic
#8D36BD #BD8D36 #36BD8D
tetradic
#8D36BD #BD4A36 #66BD36 #36A9BD
square
#8D36BD #BD4A36 #66BD36 #36A9BD
split-complementary
#8D36BD #A9BD36 #36BD4A
monochromatic
#461B5E #69288D #8D36BD #A95FD1 #C28FDF

Accessibility & contrast

On white

6.19
#8D36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36BD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36BD#FFFFFF#000000##FFFFFF
##8D36BD1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1F63BA
Tritanopia (blue-blind)
#875476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d36bd;
/* rgb */ color: rgb(141, 54, 189);
/* oklch */ color: oklch(51.9% 0.205 310.6);
Tailwind
colors: {
  custom: {
    50: '#b375d2',
    500: '#8d36bd',
    950: '#000000',
  },
}
SCSS
$custom: #8d36bd;
$custom-light: #b375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36bd",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 278.667,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.20512,
    "h": 310.6
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#8D36BD
secondary
#9EC985
accent
#DF497E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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