#8D3CB1#8D3CB1

#8D3CB1 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.186 H 313.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8D3CB1
RGBrgb(141, 60, 177)
HSLhsl(282, 49%, 46%)
HSVhsv(282, 66%, 69%)
CMYKcmyk(20.3%, 66.1%, 0%, 30.6%)
CIE-LABlab(41.33, 52.93, -47.71)
CIE-LCHlch(41.33, 71.26, 317.97°)
OKLaboklab(51.72% 0.1282 -0.1342)
OKLCHoklch(51.72% 0.186 313.7)
XYZxyz(20.5348, 12.0694, 42.8344)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CB1 #60B13C
analogous
#523CB1 #8D3CB1 #B13C9B
triadic
#8D3CB1 #B18D3C #3CB18D
tetradic
#8D3CB1 #B1523C #60B13C #3C9BB1
square
#8D3CB1 #B1523C #60B13C #3C9BB1
split-complementary
#8D3CB1 #9BB13C #3CB152
monochromatic
#441D56 #692D83 #8D3CB1 #A961C9 #C28FD9

Accessibility & contrast

On white

6.15
#8D3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8D3CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CB1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CB1#FFFFFF#000000##FFFFFF
##8D3CB11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#8A5371
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3cb1;
/* rgb */ color: rgb(141, 60, 177);
/* oklch */ color: oklch(51.7% 0.186 313.7);
Tailwind
colors: {
  custom: {
    50: '#b277c9',
    500: '#8d3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cb1;
$custom-light: #b277c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cb1",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 281.538,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.18565,
    "h": 313.7
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#8D3CB1
secondary
#98C485
accent
#D94F79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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