#8D3897#8D3897

#8D3897 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 323.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D3897
RGBrgb(141, 56, 151)
HSLhsl(294, 46%, 41%)
HSVhsv(294, 63%, 59%)
CMYKcmyk(6.6%, 62.9%, 0%, 40.8%)
CIE-LABlab(39.12, 49.48, -35.68)
CIE-LCHlch(39.12, 61.00, 324.20°)
OKLaboklab(49.63% 0.1332 -0.0991)
OKLCHoklch(49.63% 0.166 323.3)
XYZxyz(17.9841, 10.7264, 30.3953)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3897 #429738
analogous
#5D3897 #8D3897 #973871
triadic
#8D3897 #978D38 #38978D
tetradic
#8D3897 #975D38 #429738 #387197
square
#8D3897 #975D38 #429738 #387197
split-complementary
#8D3897 #719738 #38975D
monochromatic
#3A173E #63276A #8D3897 #B24FBE #C57BCE

Accessibility & contrast

On white

6.68
#8D3897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D3897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3897
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3897#FFFFFF#000000##FFFFFF
##8D38971.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#8F4662
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3897;
/* rgb */ color: rgb(141, 56, 151);
/* oklch */ color: oklch(49.6% 0.166 323.3);
Tailwind
colors: {
  custom: {
    50: '#b174b6',
    500: '#8d3897',
    950: '#000000',
  },
}
SCSS
$custom: #8d3897;
$custom-light: #b174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3897",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 293.684,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.16605,
    "h": 323.3
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#8D3897
secondary
#7BB773
accent
#D65260
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3897

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

Preview Lab → · Contrast checker → · Palette generator →

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