#8D39B2#8D39B2

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

Color values

HEX#8D39B2
RGBrgb(141, 57, 178)
HSLhsl(282, 51%, 46%)
HSVhsv(282, 68%, 70%)
CMYKcmyk(20.8%, 68%, 0%, 30.2%)
CIE-LABlab(40.90, 54.49, -48.98)
CIE-LCHlch(40.90, 73.27, 318.05°)
OKLaboklab(51.44% 0.1316 -0.138)
OKLCHoklch(51.44% 0.191 313.6)
XYZxyz(20.4821, 11.8040, 43.3103)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B2 #5EB239
analogous
#5039B2 #8D39B2 #B2399A
triadic
#8D39B2 #B28D39 #39B28D
tetradic
#8D39B2 #B25039 #5EB239 #399AB2
square
#8D39B2 #B25039 #5EB239 #399AB2
split-complementary
#8D39B2 #9AB239 #39B250
monochromatic
#441B55 #682A84 #8D39B2 #A95DCB #C28BDA

Accessibility & contrast

On white

6.25
#8D39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39B2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B2#FFFFFF#000000##FFFFFF
##8D39B21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3262AF
Tritanopia (blue-blind)
#895171
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d39b2;
/* rgb */ color: rgb(141, 57, 178);
/* oklch */ color: oklch(51.4% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#b276ca',
    500: '#8d39b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b2;
$custom-light: #b276ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b2",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 281.653,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.19065,
    "h": 313.6
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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