#8D3199#8D3199

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

Color values

HEX#8D3199
RGBrgb(141, 49, 153)
HSLhsl(293, 51%, 40%)
HSVhsv(293, 68%, 60%)
CMYKcmyk(7.8%, 68%, 0%, 40%)
CIE-LABlab(38.13, 52.92, -38.46)
CIE-LCHlch(38.13, 65.42, 323.99°)
OKLaboklab(48.95% 0.1416 -0.1071)
OKLCHoklch(48.95% 0.178 322.9)
XYZxyz(17.8320, 10.1603, 31.1527)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3199 #3D9931
analogous
#593199 #8D3199 #993171
triadic
#8D3199 #998D31 #31998D
tetradic
#8D3199 #995931 #3D9931 #317199
square
#8D3199 #995931 #3D9931 #317199
split-complementary
#8D3199 #719931 #319959
monochromatic
#38133C #62226B #8D3199 #B444C3 #C772D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3199#FFFFFF#000000##FFFFFF
##8D31991.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)
#15539C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#8F4261
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3199;
/* rgb */ color: rgb(141, 49, 153);
/* oklch */ color: oklch(48.9% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#b171b7',
    500: '#8d3199',
    950: '#000000',
  },
}
SCSS
$custom: #8d3199;
$custom-light: #b171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3199",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 293.077,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.1776,
    "h": 322.9
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#8D3199
secondary
#75BA6C
accent
#DB4D5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3199

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

Preview Lab → · Contrast checker → · Palette generator →

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