#8D3899#8D3899

#8D3899 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.7% C 0.168 H 322.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D3899
RGBrgb(141, 56, 153)
HSLhsl(293, 46%, 41%)
HSVhsv(293, 63%, 60%)
CMYKcmyk(7.8%, 63.4%, 0%, 40%)
CIE-LABlab(39.23, 49.87, -36.72)
CIE-LCHlch(39.23, 61.92, 323.64°)
OKLaboklab(49.74% 0.1333 -0.1021)
OKLCHoklch(49.74% 0.168 322.5)
XYZxyz(18.1479, 10.7919, 31.2580)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3899 #449938
analogous
#5C3899 #8D3899 #993874
triadic
#8D3899 #998D38 #38998D
tetradic
#8D3899 #995C38 #449938 #387499
square
#8D3899 #995C38 #449938 #387499
split-complementary
#8D3899 #749938 #38995C
monochromatic
#3A173F #64286C #8D3899 #B14FBF #C57CCF

Accessibility & contrast

On white

6.65
#8D3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D3899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3899
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3899#FFFFFF#000000##FFFFFF
##8D38991.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#8F4763
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3899;
/* rgb */ color: rgb(141, 56, 153);
/* oklch */ color: oklch(49.7% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#b174b7',
    500: '#8d3899',
    950: '#000000',
  },
}
SCSS
$custom: #8d3899;
$custom-light: #b174b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3899",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 292.577,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.16792,
    "h": 322.5
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#8D3899
secondary
#7DB874
accent
#D65262
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3899

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

Preview Lab → · Contrast checker → · Palette generator →

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