#8D3296#8D3296

#8D3296 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.174 H 324.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D3296
RGBrgb(141, 50, 150)
HSLhsl(295, 50%, 39%)
HSVhsv(295, 67%, 59%)
CMYKcmyk(6%, 66.7%, 0%, 41.2%)
CIE-LABlab(38.10, 51.94, -36.68)
CIE-LCHlch(38.10, 63.58, 324.77°)
OKLaboklab(48.88% 0.1405 -0.102)
OKLCHoklch(48.88% 0.174 324)
XYZxyz(17.6296, 10.1470, 29.8782)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3296 #3B9632
analogous
#5B3296 #8D3296 #96326D
triadic
#8D3296 #968D32 #32968D
tetradic
#8D3296 #965B32 #3B9632 #326D96
square
#8D3296 #965B32 #3B9632 #326D96
split-complementary
#8D3296 #6D9632 #32965B
monochromatic
#37133A #622368 #8D3296 #B644C1 #C872D0

Accessibility & contrast

On white

6.93
#8D3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3296
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3296#FFFFFF#000000##FFFFFF
##8D32961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#904260
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3296;
/* rgb */ color: rgb(141, 50, 150);
/* oklch */ color: oklch(48.9% 0.174 324.0);
Tailwind
colors: {
  custom: {
    50: '#b171b5',
    500: '#8d3296',
    950: '#000000',
  },
}
SCSS
$custom: #8d3296;
$custom-light: #b171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3296",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 294.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.17357,
    "h": 324
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#8D3296
secondary
#73B86C
accent
#DA4E5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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