#8D339C#8D339C

#8D339C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 321.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D339C
RGBrgb(141, 51, 156)
HSLhsl(291, 51%, 41%)
HSVhsv(291, 67%, 61%)
CMYKcmyk(9.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(38.61, 52.65, -39.52)
CIE-LCHlch(38.61, 65.83, 323.11°)
OKLaboklab(49.35% 0.1393 -0.1102)
OKLCHoklch(49.35% 0.178 321.7)
XYZxyz(18.1684, 10.4316, 32.5026)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339C #429C33
analogous
#59339C #8D339C #9C3376
triadic
#8D339C #9C8D33 #339C8D
tetradic
#8D339C #9C5933 #429C33 #33769C
square
#8D339C #9C5933 #429C33 #33769C
split-complementary
#8D339C #769C33 #339C59
monochromatic
#3A1540 #63246E #8D339C #B249C3 #C577D3

Accessibility & contrast

On white

6.80
#8D339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D339C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339C#FFFFFF#000000##FFFFFF
##8D339C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#8E4563
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339c;
/* rgb */ color: rgb(141, 51, 156);
/* oklch */ color: oklch(49.4% 0.178 321.7);
Tailwind
colors: {
  custom: {
    50: '#b172ba',
    500: '#8d339c',
    950: '#000000',
  },
}
SCSS
$custom: #8d339c;
$custom-light: #b172ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339c",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 291.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49351,
    "c": 0.17766,
    "h": 321.7
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#8D339C
secondary
#7BBB70
accent
#DA4E62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D339C

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

Preview Lab → · Contrast checker → · Palette generator →

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