#8D3BAF#8D3BAF

#8D3BAF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.185 H 314.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D3BAF
RGBrgb(141, 59, 175)
HSLhsl(282, 50%, 46%)
HSVhsv(282, 66%, 69%)
CMYKcmyk(19.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(41.04, 52.96, -46.99)
CIE-LCHlch(41.04, 70.80, 318.42°)
OKLaboklab(51.47% 0.1295 -0.1321)
OKLCHoklch(51.47% 0.185 314.4)
XYZxyz(20.2851, 11.8865, 41.7749)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BAF #5DAF3B
analogous
#533BAF #8D3BAF #AF3B97
triadic
#8D3BAF #AF8D3B #3BAF8D
tetradic
#8D3BAF #AF533B #5DAF3B #3B97AF
square
#8D3BAF #AF533B #5DAF3B #3B97AF
split-complementary
#8D3BAF #97AF3B #3BAF53
monochromatic
#431C53 #682C81 #8D3BAF #AA5EC9 #C28CD8

Accessibility & contrast

On white

6.22
#8D3BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3BAF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BAF#FFFFFF#000000##FFFFFF
##8D3BAF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#8A5170
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3baf;
/* rgb */ color: rgb(141, 59, 175);
/* oklch */ color: oklch(51.5% 0.185 314.4);
Tailwind
colors: {
  custom: {
    50: '#b277c7',
    500: '#8d3baf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3baf;
$custom-light: #b277c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3baf",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 282.414,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.18502,
    "h": 314.4
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#8D3BAF
secondary
#96C383
accent
#D94F77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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