#8D3294#8D3294

#8D3294 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 324.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8D3294
RGBrgb(141, 50, 148)
HSLhsl(296, 49%, 39%)
HSVhsv(296, 66%, 58%)
CMYKcmyk(4.7%, 66.2%, 0%, 42%)
CIE-LABlab(37.99, 51.57, -35.65)
CIE-LCHlch(37.99, 62.69, 325.34°)
OKLaboklab(48.76% 0.1404 -0.099)
OKLCHoklch(48.76% 0.172 324.8)
XYZxyz(17.4700, 10.0831, 29.0373)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3294 #399432
analogous
#5C3294 #8D3294 #94326A
triadic
#8D3294 #948D32 #32948D
tetradic
#8D3294 #945C32 #399432 #326A94
square
#8D3294 #945C32 #399432 #326A94
split-complementary
#8D3294 #6A9432 #32945C
monochromatic
#361339 #612366 #8D3294 #B744C0 #C871CF

Accessibility & contrast

On white

6.96
#8D3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3294
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3294#FFFFFF#000000##FFFFFF
##8D32941.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#90415F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3294;
/* rgb */ color: rgb(141, 50, 148);
/* oklch */ color: oklch(48.8% 0.172 324.8);
Tailwind
colors: {
  custom: {
    50: '#b171b4',
    500: '#8d3294',
    950: '#000000',
  },
}
SCSS
$custom: #8d3294;
$custom-light: #b171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3294",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 295.714,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.17179,
    "h": 324.8
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#8D3294
secondary
#70B76B
accent
#D94F59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3294

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

Preview Lab → · Contrast checker → · Palette generator →

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