#8D36B2#8D36B2

#8D36B2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 313.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D36B2
RGBrgb(141, 54, 178)
HSLhsl(282, 53%, 45%)
HSVhsv(282, 70%, 70%)
CMYKcmyk(20.8%, 69.7%, 0%, 30.2%)
CIE-LABlab(40.44, 55.80, -49.73)
CIE-LCHlch(40.44, 74.74, 318.29°)
OKLaboklab(51.1% 0.1349 -0.1401)
OKLCHoklch(51.1% 0.194 313.9)
XYZxyz(20.3382, 11.5161, 43.2623)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36B2 #5BB236
analogous
#4F36B2 #8D36B2 #B23699
triadic
#8D36B2 #B28D36 #36B28D
tetradic
#8D36B2 #B24F36 #5BB236 #3699B2
square
#8D36B2 #B24F36 #5BB236 #3699B2
split-complementary
#8D36B2 #99B236 #36B24F
monochromatic
#431A54 #682883 #8D36B2 #AA59CD #C288DB

Accessibility & contrast

On white

6.36
#8D36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8D36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36B2#FFFFFF#000000##FFFFFF
##8D36B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#894F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d36b2;
/* rgb */ color: rgb(141, 54, 178);
/* oklch */ color: oklch(51.1% 0.194 313.9);
Tailwind
colors: {
  custom: {
    50: '#b274ca',
    500: '#8d36b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d36b2;
$custom-light: #b274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36b2",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 282.097,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.19449,
    "h": 313.9
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#8D36B2
secondary
#94C57F
accent
#DD4B76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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