#8D39B9#8D39B9

#8D39B9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 311.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D39B9
RGBrgb(141, 57, 185)
HSLhsl(279, 53%, 47%)
HSVhsv(279, 69%, 73%)
CMYKcmyk(23.8%, 69.2%, 0%, 27.5%)
CIE-LABlab(41.36, 55.99, -52.36)
CIE-LCHlch(41.36, 76.66, 316.92°)
OKLaboklab(51.91% 0.131 -0.1479)
OKLCHoklch(51.91% 0.198 311.5)
XYZxyz(21.2030, 12.0923, 47.1066)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B9 #65B939
analogous
#4D39B9 #8D39B9 #B939A5
triadic
#8D39B9 #B98D39 #39B98D
tetradic
#8D39B9 #B94D39 #65B939 #39A5B9
square
#8D39B9 #B94D39 #65B939 #39A5B9
split-complementary
#8D39B9 #A5B939 #39B94D
monochromatic
#461C5B #692B8A #8D39B9 #A961CE #C290DD

Accessibility & contrast

On white

6.14
#8D39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D39B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39B9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B9#FFFFFF#000000##FFFFFF
##8D39B91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2963B6
Tritanopia (blue-blind)
#885475
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d39b9;
/* rgb */ color: rgb(141, 57, 185);
/* oklch */ color: oklch(51.9% 0.198 311.5);
Tailwind
colors: {
  custom: {
    50: '#b276cf',
    500: '#8d39b9',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b9;
$custom-light: #b276cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b9",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 279.375,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.19754,
    "h": 311.5
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#8D39B9
secondary
#9DC886
accent
#DC4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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