#8D39B7#8D39B7

#8D39B7 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 312.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8D39B7
RGBrgb(141, 57, 183)
HSLhsl(280, 53%, 47%)
HSVhsv(280, 69%, 72%)
CMYKcmyk(23%, 68.9%, 0%, 28.2%)
CIE-LABlab(41.23, 55.56, -51.40)
CIE-LCHlch(41.23, 75.69, 317.23°)
OKLaboklab(51.78% 0.1312 -0.1451)
OKLCHoklch(51.78% 0.196 312.1)
XYZxyz(20.9933, 12.0084, 46.0025)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B7 #63B739
analogous
#4E39B7 #8D39B7 #B739A2
triadic
#8D39B7 #B78D39 #39B78D
tetradic
#8D39B7 #B74E39 #63B739 #39A2B7
square
#8D39B7 #B74E39 #63B739 #39A2B7
split-complementary
#8D39B7 #A2B739 #39B74E
monochromatic
#451C5A #692A88 #8D39B7 #A960CD #C28EDC

Accessibility & contrast

On white

6.17
#8D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39B7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B7#FFFFFF#000000##FFFFFF
##8D39B71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2C63B4
Tritanopia (blue-blind)
#885374
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d39b7;
/* rgb */ color: rgb(141, 57, 183);
/* oklch */ color: oklch(51.8% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#b276cd',
    500: '#8d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b7;
$custom-light: #b276cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b7",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.19557,
    "h": 312.1
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#8D39B7
secondary
#9BC785
accent
#DC4C7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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