#8D3D96#8D3D96

#8D3D96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.2% C 0.158 H 323.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D3D96
RGBrgb(141, 61, 150)
HSLhsl(294, 42%, 41%)
HSVhsv(294, 59%, 59%)
CMYKcmyk(6%, 59.3%, 0%, 41.2%)
CIE-LABlab(39.92, 46.93, -33.81)
CIE-LCHlch(39.92, 57.84, 324.23°)
OKLaboklab(50.2% 0.1267 -0.0937)
OKLCHoklch(50.2% 0.158 323.5)
XYZxyz(18.1578, 11.2032, 30.0542)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3D96 #46963D
analogous
#613D96 #8D3D96 #963D73
triadic
#8D3D96 #968D3D #3D968D
tetradic
#8D3D96 #96613D #46963D #3D7396
square
#8D3D96 #96613D #46963D #3D7396
split-complementary
#8D3D96 #73963D #3D9661
monochromatic
#3B1A3F #642B6A #8D3D96 #B056BA #C481CC

Accessibility & contrast

On white

6.48
#8D3D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D3D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3D96
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3D96#FFFFFF#000000##FFFFFF
##8D3D961.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#8F4A64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3d96;
/* rgb */ color: rgb(141, 61, 150);
/* oklch */ color: oklch(50.2% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#b177b5',
    500: '#8d3d96',
    950: '#000000',
  },
}
SCSS
$custom: #8d3d96;
$custom-light: #b177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3d96",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 293.933,
    "s": 42.18,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.15758,
    "h": 323.5
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#8D3D96
secondary
#7FB679
accent
#D25662
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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