#8D339E#8D339E

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

Color values

HEX#8D339E
RGBrgb(141, 51, 158)
HSLhsl(290, 51%, 41%)
HSVhsv(290, 68%, 62%)
CMYKcmyk(10.8%, 67.7%, 0%, 38%)
CIE-LABlab(38.73, 53.04, -40.53)
CIE-LCHlch(38.73, 66.75, 322.61°)
OKLaboklab(49.48% 0.1393 -0.1132)
OKLCHoklch(49.48% 0.18 320.9)
XYZxyz(18.3392, 10.4999, 33.4018)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D339E #449E33
analogous
#57339E #8D339E #9E3379
triadic
#8D339E #9E8D33 #339E8D
tetradic
#8D339E #9E5733 #449E33 #33799E
square
#8D339E #9E5733 #449E33 #33799E
split-complementary
#8D339E #799E33 #339E57
monochromatic
#3A1541 #642470 #8D339E #B14AC4 #C578D3

Accessibility & contrast

On white

6.77
#8D339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D339E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D339E#FFFFFF#000000##FFFFFF
##8D339E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#8E4664
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d339e;
/* rgb */ color: rgb(141, 51, 158);
/* oklch */ color: oklch(49.5% 0.179 320.9);
Tailwind
colors: {
  custom: {
    50: '#b172bb',
    500: '#8d339e',
    950: '#000000',
  },
}
SCSS
$custom: #8d339e;
$custom-light: #b172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d339e",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 290.467,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.1795,
    "h": 320.9
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#8D339E
secondary
#7DBC71
accent
#DB4D64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D339E

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

Preview Lab → · Contrast checker → · Palette generator →

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