#8D39B8#8D39B8

#8D39B8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.8% C 0.197 H 311.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8D39B8
RGBrgb(141, 57, 184)
HSLhsl(280, 53%, 47%)
HSVhsv(280, 69%, 72%)
CMYKcmyk(23.4%, 69%, 0%, 27.8%)
CIE-LABlab(41.30, 55.78, -51.88)
CIE-LCHlch(41.30, 76.18, 317.07°)
OKLaboklab(51.85% 0.1311 -0.1465)
OKLCHoklch(51.85% 0.197 311.8)
XYZxyz(21.0978, 12.0502, 46.5526)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39B8 #64B839
analogous
#4E39B8 #8D39B8 #B839A4
triadic
#8D39B8 #B88D39 #39B88D
tetradic
#8D39B8 #B84E39 #64B839 #39A4B8
square
#8D39B8 #B84E39 #64B839 #39A4B8
split-complementary
#8D39B8 #A4B839 #39B84E
monochromatic
#451C5B #692B89 #8D39B8 #A960CE #C28FDC

Accessibility & contrast

On white

6.16
#8D39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8D39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39B8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39B8#FFFFFF#000000##FFFFFF
##8D39B81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#885474
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d39b8;
/* rgb */ color: rgb(141, 57, 184);
/* oklch */ color: oklch(51.8% 0.197 311.8);
Tailwind
colors: {
  custom: {
    50: '#b276ce',
    500: '#8d39b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d39b8;
$custom-light: #b276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39b8",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 279.685,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.19655,
    "h": 311.8
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#8D39B8
secondary
#9CC786
accent
#DC4C7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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