#8D36BA#8D36BA

#8D36BA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 311.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8D36BA
RGBrgb(141, 54, 186)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(24.2%, 71%, 0%, 27.1%)
CIE-LABlab(40.97, 57.49, -53.58)
CIE-LCHlch(40.97, 78.59, 317.02°)
OKLaboklab(51.66% 0.134 -0.1514)
OKLCHoklch(51.66% 0.202 311.5)
XYZxyz(21.1649, 11.8468, 47.6166)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36BA #63BA36
analogous
#4B36BA #8D36BA #BA36A5
triadic
#8D36BA #BA8D36 #36BA8D
tetradic
#8D36BA #BA4B36 #63BA36 #36A5BA
square
#8D36BA #BA4B36 #63BA36 #36A5BA
split-complementary
#8D36BA #A5BA36 #36BA4B
monochromatic
#451A5B #69288B #8D36BA #A95DD0 #C28DDE

Accessibility & contrast

On white

6.23
#8D36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36BA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36BA#FFFFFF#000000##FFFFFF
##8D36BA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#875374
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d36ba;
/* rgb */ color: rgb(141, 54, 186);
/* oklch */ color: oklch(51.7% 0.202 311.5);
Tailwind
colors: {
  custom: {
    50: '#b375cf',
    500: '#8d36ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d36ba;
$custom-light: #b375cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36ba",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 279.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.20222,
    "h": 311.5
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#8D36BA
secondary
#9BC884
accent
#DE497C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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