#8D3CB2#8D3CB2

#8D3CB2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.187 H 313.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D3CB2
RGBrgb(141, 60, 178)
HSLhsl(281, 50%, 47%)
HSVhsv(281, 66%, 70%)
CMYKcmyk(20.8%, 66.3%, 0%, 30.2%)
CIE-LABlab(41.39, 53.14, -48.20)
CIE-LCHlch(41.39, 71.74, 317.79°)
OKLaboklab(51.79% 0.1282 -0.1357)
OKLCHoklch(51.79% 0.187 313.4)
XYZxyz(20.6349, 12.1094, 43.3612)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CB2 #61B23C
analogous
#523CB2 #8D3CB2 #B23C9C
triadic
#8D3CB2 #B28D3C #3CB28D
tetradic
#8D3CB2 #B2523C #61B23C #3C9CB2
square
#8D3CB2 #B2523C #61B23C #3C9CB2
split-complementary
#8D3CB2 #9CB23C #3CB252
monochromatic
#441D56 #692D84 #8D3CB2 #A961CA #C28FD9

Accessibility & contrast

On white

6.14
#8D3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CB2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CB2#FFFFFF#000000##FFFFFF
##8D3CB21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#895372
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3cb2;
/* rgb */ color: rgb(141, 60, 178);
/* oklch */ color: oklch(51.8% 0.187 313.4);
Tailwind
colors: {
  custom: {
    50: '#b277ca',
    500: '#8d3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cb2;
$custom-light: #b277ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cb2",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 281.186,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.18666,
    "h": 313.4
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8D3CB2
secondary
#99C486
accent
#D94F7A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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