#8D3BA3#8D3BA3

#8D3BA3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 318.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D3BA3
RGBrgb(141, 59, 163)
HSLhsl(287, 47%, 44%)
HSVhsv(287, 64%, 64%)
CMYKcmyk(13.5%, 63.8%, 0%, 36.1%)
CIE-LABlab(40.30, 50.47, -41.02)
CIE-LCHlch(40.30, 65.03, 320.90°)
OKLaboklab(50.71% 0.1298 -0.1147)
OKLCHoklch(50.71% 0.173 318.5)
XYZxyz(19.1584, 11.4358, 35.8414)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BA3 #51A33B
analogous
#593BA3 #8D3BA3 #A33B85
triadic
#8D3BA3 #A38D3B #3BA38D
tetradic
#8D3BA3 #A3593B #51A33B #3B85A3
square
#8D3BA3 #A3593B #51A33B #3B85A3
split-complementary
#8D3BA3 #85A33B #3BA359
monochromatic
#3F1A49 #662B76 #8D3BA3 #AC58C3 #C385D3

Accessibility & contrast

On white

6.39
#8D3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D3BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BA3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BA3#FFFFFF#000000##FFFFFF
##8D3BA31.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#4062A0
Tritanopia (blue-blind)
#8D4D6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ba3;
/* rgb */ color: rgb(141, 59, 163);
/* oklch */ color: oklch(50.7% 0.173 318.5);
Tailwind
colors: {
  custom: {
    50: '#b176bf',
    500: '#8d3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ba3;
$custom-light: #b176bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ba3",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 287.308,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.17317,
    "h": 318.5
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#8D3BA3
secondary
#8ABD7D
accent
#D6516D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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