#8D39B1#8D39B1

#8D39B1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.190 H 314.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D39B1
RGBrgb(141, 57, 177)
HSLhsl(282, 51%, 46%)
HSVhsv(282, 68%, 69%)
CMYKcmyk(20.3%, 67.8%, 0%, 30.6%)
CIE-LABlab(40.84, 54.28, -48.49)
CIE-LCHlch(40.84, 72.79, 318.23°)
OKLaboklab(51.37% 0.1317 -0.1365)
OKLCHoklch(51.37% 0.19 314)
XYZxyz(20.3821, 11.7639, 42.7834)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B1 #5DB139
analogous
#5139B1 #8D39B1 #B13999
triadic
#8D39B1 #B18D39 #39B18D
tetradic
#8D39B1 #B15139 #5DB139 #3999B1
square
#8D39B1 #B15139 #5DB139 #3999B1
split-complementary
#8D39B1 #99B139 #39B151
monochromatic
#431B54 #682A83 #8D39B1 #AA5DCB #C28BDA

Accessibility & contrast

On white

6.26
#8D39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8D39B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39B1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B1#FFFFFF#000000##FFFFFF
##8D39B11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#8A5170
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d39b1;
/* rgb */ color: rgb(141, 57, 177);
/* oklch */ color: oklch(51.4% 0.190 314.0);
Tailwind
colors: {
  custom: {
    50: '#b276c9',
    500: '#8d39b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b1;
$custom-light: #b276c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b1",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 282,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.18966,
    "h": 314
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#8D39B1
secondary
#96C482
accent
#DB4D78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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