#8D339A#8D339A

#8D339A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.176 H 322.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D339A
RGBrgb(141, 51, 154)
HSLhsl(292, 50%, 40%)
HSVhsv(292, 67%, 60%)
CMYKcmyk(8.4%, 66.9%, 0%, 39.6%)
CIE-LABlab(38.49, 52.27, -38.49)
CIE-LCHlch(38.49, 64.92, 323.63°)
OKLaboklab(49.23% 0.1393 -0.1073)
OKLCHoklch(49.23% 0.176 322.4)
XYZxyz(18.0005, 10.3644, 31.6180)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339A #409A33
analogous
#59339A #8D339A #9A3374
triadic
#8D339A #9A8D33 #339A8D
tetradic
#8D339A #9A5933 #409A33 #33749A
square
#8D339A #9A5933 #409A33 #33749A
split-complementary
#8D339A #749A33 #339A59
monochromatic
#39153E #63246C #8D339A #B348C2 #C676D2

Accessibility & contrast

On white

6.83
#8D339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D339A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339A#FFFFFF#000000##FFFFFF
##8D339A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#8F4462
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339a;
/* rgb */ color: rgb(141, 51, 154);
/* oklch */ color: oklch(49.2% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#b172b8',
    500: '#8d339a',
    950: '#000000',
  },
}
SCSS
$custom: #8d339a;
$custom-light: #b172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339a",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 292.427,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.17583,
    "h": 322.4
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#8D339A
secondary
#78BA6F
accent
#DA4E60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D339A

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

Preview Lab → · Contrast checker → · Palette generator →

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