#8D3BA2#8D3BA2

#8D3BA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.172 H 318.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D3BA2
RGBrgb(141, 59, 162)
HSLhsl(288, 47%, 43%)
HSVhsv(288, 64%, 64%)
CMYKcmyk(13%, 63.6%, 0%, 36.5%)
CIE-LABlab(40.25, 50.27, -40.51)
CIE-LCHlch(40.25, 64.56, 321.13°)
OKLaboklab(50.65% 0.1298 -0.1132)
OKLCHoklch(50.65% 0.172 318.9)
XYZxyz(19.0692, 11.4001, 35.3714)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BA2 #50A23B
analogous
#593BA2 #8D3BA2 #A23B83
triadic
#8D3BA2 #A28D3B #3BA28D
tetradic
#8D3BA2 #A2593B #50A23B #3B83A2
square
#8D3BA2 #A2593B #50A23B #3B83A2
split-complementary
#8D3BA2 #83A23B #3BA259
monochromatic
#3F1A48 #662B75 #8D3BA2 #AD58C2 #C385D3

Accessibility & contrast

On white

6.40
#8D3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BA2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BA2#FFFFFF#000000##FFFFFF
##8D3BA21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#41629F
Tritanopia (blue-blind)
#8D4C69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ba2;
/* rgb */ color: rgb(141, 59, 162);
/* oklch */ color: oklch(50.6% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#b176be',
    500: '#8d3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ba2;
$custom-light: #b176be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ba2",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 287.767,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.1722,
    "h": 318.9
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#8D3BA2
secondary
#89BD7C
accent
#D6526D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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