#8D3AB2#8D3AB2

#8D3AB2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.189 H 313.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D3AB2
RGBrgb(141, 58, 178)
HSLhsl(282, 51%, 46%)
HSVhsv(282, 67%, 70%)
CMYKcmyk(20.8%, 67.4%, 0%, 30.2%)
CIE-LABlab(41.06, 54.05, -48.72)
CIE-LCHlch(41.06, 72.77, 317.97°)
OKLaboklab(51.55% 0.1305 -0.1372)
OKLCHoklch(51.55% 0.189 313.6)
XYZxyz(20.5321, 11.9038, 43.3269)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AB2 #5FB23A
analogous
#513AB2 #8D3AB2 #B23A9B
triadic
#8D3AB2 #B28D3A #3AB28D
tetradic
#8D3AB2 #B2513A #5FB23A #3A9BB2
square
#8D3AB2 #B2513A #5FB23A #3A9BB2
split-complementary
#8D3AB2 #9BB23A #3AB251
monochromatic
#441C56 #682B84 #8D3AB2 #A95FCB #C28DDA

Accessibility & contrast

On white

6.21
#8D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D3AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AB2#FFFFFF#000000##FFFFFF
##8D3AB21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#895271
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3ab2;
/* rgb */ color: rgb(141, 58, 178);
/* oklch */ color: oklch(51.6% 0.189 313.6);
Tailwind
colors: {
  custom: {
    50: '#b276ca',
    500: '#8d3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ab2;
$custom-light: #b276ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ab2",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 281.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.18933,
    "h": 313.6
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#8D3AB2
secondary
#97C483
accent
#DA4D79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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