#8D3DB3#8D3DB3

#8D3DB3 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.0% C 0.186 H 313.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D3DB3
RGBrgb(141, 61, 179)
HSLhsl(281, 49%, 47%)
HSVhsv(281, 66%, 70%)
CMYKcmyk(21.2%, 65.9%, 0%, 29.8%)
CIE-LABlab(41.62, 52.89, -48.42)
CIE-LCHlch(41.62, 71.71, 317.53°)
OKLaboklab(51.97% 0.127 -0.1363)
OKLCHoklch(51.97% 0.186 313)
XYZxyz(20.7885, 12.2555, 43.9095)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DB3 #63B33D
analogous
#523DB3 #8D3DB3 #B33D9E
triadic
#8D3DB3 #B38D3D #3DB38D
tetradic
#8D3DB3 #B3523D #63B33D #3D9EB3
square
#8D3DB3 #B3523D #63B33D #3D9EB3
split-complementary
#8D3DB3 #9EB33D #3DB352
monochromatic
#451E58 #692D85 #8D3DB3 #A963CA #C291D9

Accessibility & contrast

On white

6.09
#8D3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D3DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DB3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DB3#FFFFFF#000000##FFFFFF
##8D3DB31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#895473
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3db3;
/* rgb */ color: rgb(141, 61, 179);
/* oklch */ color: oklch(52.0% 0.186 313.0);
Tailwind
colors: {
  custom: {
    50: '#b278ca',
    500: '#8d3db3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3db3;
$custom-light: #b278ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3db3",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 280.678,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.18631,
    "h": 313
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#8D3DB3
secondary
#9BC587
accent
#D94F7B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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