#8D339D#8D339D

#8D339D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.179 H 321.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D339D
RGBrgb(141, 51, 157)
HSLhsl(291, 51%, 41%)
HSVhsv(291, 68%, 62%)
CMYKcmyk(10.2%, 67.5%, 0%, 38.4%)
CIE-LABlab(38.67, 52.85, -40.02)
CIE-LCHlch(38.67, 66.29, 322.86°)
OKLaboklab(49.41% 0.1393 -0.1117)
OKLCHoklch(49.41% 0.179 321.3)
XYZxyz(18.2535, 10.4656, 32.9503)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339D #439D33
analogous
#58339D #8D339D #9D3378
triadic
#8D339D #9D8D33 #339D8D
tetradic
#8D339D #9D5833 #439D33 #33789D
square
#8D339D #9D5833 #439D33 #33789D
split-complementary
#8D339D #789D33 #339D58
monochromatic
#3A1541 #64246F #8D339D #B149C4 #C577D3

Accessibility & contrast

On white

6.79
#8D339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D339D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339D#FFFFFF#000000##FFFFFF
##8D339D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#3F5E9A
Tritanopia (blue-blind)
#8E4564
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339d;
/* rgb */ color: rgb(141, 51, 157);
/* oklch */ color: oklch(49.4% 0.179 321.3);
Tailwind
colors: {
  custom: {
    50: '#b172ba',
    500: '#8d339d',
    950: '#000000',
  },
}
SCSS
$custom: #8d339d;
$custom-light: #b172ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339d",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 290.943,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.17858,
    "h": 321.3
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#8D339D
secondary
#7CBB70
accent
#DA4D63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D339D

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

Preview Lab → · Contrast checker → · Palette generator →

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