#8D3F9D#8D3F9D

#8D3F9D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.9% C 0.161 H 320.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8D3F9D
RGBrgb(141, 63, 157)
HSLhsl(290, 43%, 43%)
HSVhsv(290, 60%, 62%)
CMYKcmyk(10.2%, 59.9%, 0%, 38.4%)
CIE-LABlab(40.66, 47.35, -36.86)
CIE-LCHlch(40.66, 60.00, 322.10°)
OKLaboklab(50.86% 0.1245 -0.1026)
OKLCHoklch(50.86% 0.161 320.5)
XYZxyz(18.8471, 11.6529, 33.1482)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F9D #4F9D3F
analogous
#5E3F9D #8D3F9D #9D3F7E
triadic
#8D3F9D #9D8D3F #3F9D8D
tetradic
#8D3F9D #9D5E3F #4F9D3F #3F7E9D
square
#8D3F9D #9D5E3F #4F9D3F #3F7E9D
split-complementary
#8D3F9D #7E9D3F #3F9D5E
monochromatic
#3F1C46 #662D71 #8D3F9D #AD5CBD #C387CF

Accessibility & contrast

On white

6.31
#8D3F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8D3F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3F9D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F9D#FFFFFF#000000##FFFFFF
##8D3F9D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#8E4D68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3f9d;
/* rgb */ color: rgb(141, 63, 157);
/* oklch */ color: oklch(50.9% 0.161 320.5);
Tailwind
colors: {
  custom: {
    50: '#b179ba',
    500: '#8d3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f9d;
$custom-light: #b179ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f9d",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 289.787,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.16132,
    "h": 320.5
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#8D3F9D
secondary
#88BA7E
accent
#D3556B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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