#8D36BE#8D36BE

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

Color values

HEX#8D36BE
RGBrgb(141, 54, 190)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 72%, 75%)
CMYKcmyk(25.8%, 71.6%, 0%, 25.5%)
CIE-LABlab(41.25, 58.35, -55.48)
CIE-LCHlch(41.25, 80.52, 316.44°)
OKLaboklab(51.94% 0.1335 -0.157)
OKLCHoklch(51.94% 0.206 310.4)
XYZxyz(21.5961, 12.0192, 49.8875)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36BE #67BE36
analogous
#4936BE #8D36BE #BE36AB
triadic
#8D36BE #BE8D36 #36BE8D
tetradic
#8D36BE #BE4936 #67BE36 #36ABBE
square
#8D36BE #BE4936 #67BE36 #36ABBE
split-complementary
#8D36BE #ABBE36 #36BE49
monochromatic
#461B5F #6A288E #8D36BE #A960D2 #C28FDF

Accessibility & contrast

On white

6.17
#8D36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D36BE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36BE#FFFFFF#000000##FFFFFF
##8D36BE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#865477
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d36be;
/* rgb */ color: rgb(141, 54, 190);
/* oklch */ color: oklch(51.9% 0.206 310.4);
Tailwind
colors: {
  custom: {
    50: '#b375d2',
    500: '#8d36be',
    950: '#000000',
  },
}
SCSS
$custom: #8d36be;
$custom-light: #b375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36be",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 278.382,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.2061,
    "h": 310.4
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#8D36BE
secondary
#9ECA86
accent
#DF497F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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