#8D339F#8D339F

#8D339F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.180 H 320.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D339F
RGBrgb(141, 51, 159)
HSLhsl(290, 51%, 41%)
HSVhsv(290, 68%, 62%)
CMYKcmyk(11.3%, 67.9%, 0%, 37.6%)
CIE-LABlab(38.79, 53.23, -41.04)
CIE-LCHlch(38.79, 67.22, 322.37°)
OKLaboklab(49.54% 0.1393 -0.1147)
OKLCHoklch(49.54% 0.18 320.5)
XYZxyz(18.4256, 10.5345, 33.8570)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339F #459F33
analogous
#57339F #8D339F #9F337B
triadic
#8D339F #9F8D33 #339F8D
tetradic
#8D339F #9F5733 #459F33 #337B9F
square
#8D339F #9F5733 #459F33 #337B9F
split-complementary
#8D339F #7B9F33 #339F57
monochromatic
#3B1542 #642471 #8D339F #B14AC5 #C579D4

Accessibility & contrast

On white

6.76
#8D339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D339F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339F#FFFFFF#000000##FFFFFF
##8D339F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#3D5F9C
Tritanopia (blue-blind)
#8E4665
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339f;
/* rgb */ color: rgb(141, 51, 159);
/* oklch */ color: oklch(49.5% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#b272bc',
    500: '#8d339f',
    950: '#000000',
  },
}
SCSS
$custom: #8d339f;
$custom-light: #b272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339f",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 290,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.18042,
    "h": 320.5
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#8D339F
secondary
#7EBC71
accent
#DB4D65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D339F

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

Preview Lab → · Contrast checker → · Palette generator →

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