#8D3D97#8D3D97

#8D3D97 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.3% C 0.159 H 323.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8D3D97
RGBrgb(141, 61, 151)
HSLhsl(293, 42%, 42%)
HSVhsv(293, 60%, 59%)
CMYKcmyk(6.6%, 59.6%, 0%, 40.8%)
CIE-LABlab(39.97, 47.13, -34.33)
CIE-LCHlch(39.97, 58.30, 323.93°)
OKLaboklab(50.25% 0.1268 -0.0952)
OKLCHoklch(50.25% 0.159 323.1)
XYZxyz(18.2386, 11.2355, 30.4801)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3D97 #47973D
analogous
#603D97 #8D3D97 #973D74
triadic
#8D3D97 #978D3D #3D978D
tetradic
#8D3D97 #97603D #47973D #3D7497
square
#8D3D97 #97603D #47973D #3D7497
split-complementary
#8D3D97 #74973D #3D9760
monochromatic
#3C1A40 #642B6B #8D3D97 #B056BB #C482CC

Accessibility & contrast

On white

6.47
#8D3D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8D3D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3D97
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3D97#FFFFFF#000000##FFFFFF
##8D3D971.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#8F4A64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3d97;
/* rgb */ color: rgb(141, 61, 151);
/* oklch */ color: oklch(50.3% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#b177b6',
    500: '#8d3d97',
    950: '#000000',
  },
}
SCSS
$custom: #8d3d97;
$custom-light: #b177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3d97",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 293.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.15854,
    "h": 323.1
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#8D3D97
secondary
#80B779
accent
#D25663
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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