#8D3394#8D3394

#8D3394 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 324.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D3394
RGBrgb(141, 51, 148)
HSLhsl(296, 49%, 39%)
HSVhsv(296, 66%, 58%)
CMYKcmyk(4.7%, 65.5%, 0%, 42%)
CIE-LABlab(38.14, 51.14, -35.40)
CIE-LCHlch(38.14, 62.20, 325.30°)
OKLaboklab(48.87% 0.1392 -0.0983)
OKLCHoklch(48.87% 0.17 324.8)
XYZxyz(17.5132, 10.1695, 29.0517)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3394 #3A9433
analogous
#5D3394 #8D3394 #94336B
triadic
#8D3394 #948D33 #33948D
tetradic
#8D3394 #945D33 #3A9433 #336B94
square
#8D3394 #945D33 #3A9433 #336B94
split-complementary
#8D3394 #6B9433 #33945D
monochromatic
#361439 #622366 #8D3394 #B645BF #C873CF

Accessibility & contrast

On white

6.92
#8D3394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3394
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3394#FFFFFF#000000##FFFFFF
##8D33941.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205397
Deuteranopia (green-blind)
#455E91
Tritanopia (blue-blind)
#90415F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3394;
/* rgb */ color: rgb(141, 51, 148);
/* oklch */ color: oklch(48.9% 0.170 324.8);
Tailwind
colors: {
  custom: {
    50: '#b172b4',
    500: '#8d3394',
    950: '#000000',
  },
}
SCSS
$custom: #8d3394;
$custom-light: #b172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3394",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 295.67,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.17041,
    "h": 324.8
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#8D3394
secondary
#71B76C
accent
#D84F59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3394

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

Preview Lab → · Contrast checker → · Palette generator →

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