#8D3399#8D3399

#8D3399 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.175 H 322.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D3399
RGBrgb(141, 51, 153)
HSLhsl(293, 50%, 40%)
HSVhsv(293, 67%, 60%)
CMYKcmyk(7.8%, 66.7%, 0%, 40%)
CIE-LABlab(38.43, 52.08, -37.98)
CIE-LCHlch(38.43, 64.46, 323.90°)
OKLaboklab(49.17% 0.1393 -0.1058)
OKLCHoklch(49.17% 0.175 322.8)
XYZxyz(17.9175, 10.3313, 31.1812)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3399 #3F9933
analogous
#5A3399 #8D3399 #993372
triadic
#8D3399 #998D33 #33998D
tetradic
#8D3399 #995A33 #3F9933 #337299
square
#8D3399 #995A33 #3F9933 #337299
split-complementary
#8D3399 #729933 #33995A
monochromatic
#38143D #63246B #8D3399 #B347C2 #C675D1

Accessibility & contrast

On white

6.85
#8D3399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3399
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3399#FFFFFF#000000##FFFFFF
##8D33991.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#8F4362
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3399;
/* rgb */ color: rgb(141, 51, 153);
/* oklch */ color: oklch(49.2% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#b172b7',
    500: '#8d3399',
    950: '#000000',
  },
}
SCSS
$custom: #8d3399;
$custom-light: #b172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3399",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 292.941,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.17492,
    "h": 322.8
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#8D3399
secondary
#77B96E
accent
#DA4E5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3399

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

Preview Lab → · Contrast checker → · Palette generator →

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