#8D3389#8D3389

#8D3389 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.161 H 329.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8D3389
RGBrgb(141, 51, 137)
HSLhsl(303, 47%, 38%)
HSVhsv(303, 64%, 55%)
CMYKcmyk(0%, 63.8%, 2.8%, 44.7%)
CIE-LABlab(37.55, 49.14, -29.62)
CIE-LCHlch(37.55, 57.37, 328.92°)
OKLaboklab(48.25% 0.1386 -0.0815)
OKLCHoklch(48.25% 0.161 329.5)
XYZxyz(16.6835, 9.8377, 24.6822)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3389 #338D37
analogous
#64338D #8D3389 #8D335C
triadic
#8D3389 #898D33 #33898D
tetradic
#8D3389 #8D6433 #338D37 #335C8D
square
#8D3389 #8D6433 #338D37 #335C8D
split-complementary
#8D3389 #5C8D33 #338D64
monochromatic
#331232 #60235D #8D3389 #BA43B5 #CB6FC7

Accessibility & contrast

On white

7.08
#8D3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3389
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3389#FFFFFF#000000##FFFFFF
##8D33891.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#923D59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3389;
/* rgb */ color: rgb(141, 51, 137);
/* oklch */ color: oklch(48.2% 0.161 329.5);
Tailwind
colors: {
  custom: {
    50: '#b171ac',
    500: '#8d3389',
    950: '#000000',
  },
}
SCSS
$custom: #8d3389;
$custom-light: #b171ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3389",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 302.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48245,
    "c": 0.16076,
    "h": 329.5
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#8D3389
secondary
#69B36C
accent
#D75751
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3389

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

Preview Lab → · Contrast checker → · Palette generator →

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