#8D3F9B#8D3F9B

#8D3F9B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.7% C 0.159 H 321.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D3F9B
RGBrgb(141, 63, 155)
HSLhsl(291, 42%, 43%)
HSVhsv(291, 59%, 61%)
CMYKcmyk(9%, 59.4%, 0%, 39.2%)
CIE-LABlab(40.55, 46.94, -35.83)
CIE-LCHlch(40.55, 59.05, 322.65°)
OKLaboklab(50.74% 0.1244 -0.0996)
OKLCHoklch(50.74% 0.159 321.3)
XYZxyz(18.6777, 11.5852, 32.2563)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F9B #4D9B3F
analogous
#5F3F9B #8D3F9B #9B3F7B
triadic
#8D3F9B #9B8D3F #3F9B8D
tetradic
#8D3F9B #9B5F3F #4D9B3F #3F7B9B
square
#8D3F9B #9B5F3F #4D9B3F #3F7B9B
split-complementary
#8D3F9B #7B9B3F #3F9B5F
monochromatic
#3E1C44 #652D6F #8D3F9B #AD5BBC #C386CE

Accessibility & contrast

On white

6.33
#8D3F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D3F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3F9B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F9B#FFFFFF#000000##FFFFFF
##8D3F9B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#496399
Tritanopia (blue-blind)
#8E4D67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3f9b;
/* rgb */ color: rgb(141, 63, 155);
/* oklch */ color: oklch(50.7% 0.159 321.3);
Tailwind
colors: {
  custom: {
    50: '#b179b9',
    500: '#8d3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f9b;
$custom-light: #b179b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f9b",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 290.87,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.15935,
    "h": 321.3
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#8D3F9B
secondary
#86B87D
accent
#D25669
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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