#8D39B5#8D39B5

#8D39B5 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.194 H 312.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D39B5
RGBrgb(141, 57, 181)
HSLhsl(281, 52%, 47%)
HSVhsv(281, 69%, 71%)
CMYKcmyk(22.1%, 68.5%, 0%, 29%)
CIE-LABlab(41.10, 55.13, -50.44)
CIE-LCHlch(41.10, 74.72, 317.55°)
OKLaboklab(51.64% 0.1313 -0.1422)
OKLCHoklch(51.64% 0.194 312.7)
XYZxyz(20.7866, 11.9258, 44.9140)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B5 #61B539
analogous
#4F39B5 #8D39B5 #B5399F
triadic
#8D39B5 #B58D39 #39B58D
tetradic
#8D39B5 #B54F39 #61B539 #399FB5
square
#8D39B5 #B54F39 #61B539 #399FB5
split-complementary
#8D39B5 #9FB539 #39B54F
monochromatic
#441C58 #692A86 #8D39B5 #A95FCD #C28DDB

Accessibility & contrast

On white

6.20
#8D39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D39B5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B5#FFFFFF#000000##FFFFFF
##8D39B51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2E63B2
Tritanopia (blue-blind)
#895273
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d39b5;
/* rgb */ color: rgb(141, 57, 181);
/* oklch */ color: oklch(51.6% 0.194 312.7);
Tailwind
colors: {
  custom: {
    50: '#b276cc',
    500: '#8d39b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b5;
$custom-light: #b276cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b5",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 280.645,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.1936,
    "h": 312.7
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#8D39B5
secondary
#99C684
accent
#DC4C7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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