#8D39B6#8D39B6

#8D39B6 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.195 H 312.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D39B6
RGBrgb(141, 57, 182)
HSLhsl(280, 52%, 47%)
HSVhsv(280, 69%, 71%)
CMYKcmyk(22.5%, 68.7%, 0%, 28.6%)
CIE-LABlab(41.16, 55.35, -50.92)
CIE-LCHlch(41.16, 75.21, 317.39°)
OKLaboklab(51.71% 0.1313 -0.1436)
OKLCHoklch(51.71% 0.195 312.4)
XYZxyz(20.8896, 11.9670, 45.4563)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B6 #62B639
analogous
#4F39B6 #8D39B6 #B639A1
triadic
#8D39B6 #B68D39 #39B68D
tetradic
#8D39B6 #B64F39 #62B639 #39A1B6
square
#8D39B6 #B64F39 #62B639 #39A1B6
split-complementary
#8D39B6 #A1B639 #39B64F
monochromatic
#451C59 #692A87 #8D39B6 #A95FCD #C28EDC

Accessibility & contrast

On white

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

On black

3.39
#8D39B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D39B6#FFFFFF#000000##FFFFFF
##8D39B61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#885373
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d39b6;
/* rgb */ color: rgb(141, 57, 182);
/* oklch */ color: oklch(51.7% 0.195 312.4);
Tailwind
colors: {
  custom: {
    50: '#b276cd',
    500: '#8d39b6',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b6;
$custom-light: #b276cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b6",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 280.32,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.19458,
    "h": 312.4
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#8D39B6
secondary
#9AC685
accent
#DC4C7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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