#8D339B#8D339B

#8D339B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 322.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8D339B
RGBrgb(141, 51, 155)
HSLhsl(292, 50%, 40%)
HSVhsv(292, 67%, 61%)
CMYKcmyk(9%, 67.1%, 0%, 39.2%)
CIE-LABlab(38.55, 52.46, -39.01)
CIE-LCHlch(38.55, 65.37, 323.37°)
OKLaboklab(49.29% 0.1393 -0.1087)
OKLCHoklch(49.29% 0.177 322)
XYZxyz(18.0841, 10.3979, 32.0584)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339B #419B33
analogous
#59339B #8D339B #9B3375
triadic
#8D339B #9B8D33 #339B8D
tetradic
#8D339B #9B5933 #419B33 #33759B
square
#8D339B #9B5933 #419B33 #33759B
split-complementary
#8D339B #759B33 #339B59
monochromatic
#39153F #63246D #8D339B #B248C3 #C676D2

Accessibility & contrast

On white

6.82
#8D339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D339B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339B#FFFFFF#000000##FFFFFF
##8D339B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#8F4463
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339b;
/* rgb */ color: rgb(141, 51, 155);
/* oklch */ color: oklch(49.3% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#b172b9',
    500: '#8d339b',
    950: '#000000',
  },
}
SCSS
$custom: #8d339b;
$custom-light: #b172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339b",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 291.923,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.17675,
    "h": 322
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#8D339B
secondary
#79BA6F
accent
#DA4E61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D339B

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

Preview Lab → · Contrast checker → · Palette generator →

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