#8D3192#8D3192

#8D3192 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 325.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8D3192
RGBrgb(141, 49, 146)
HSLhsl(297, 50%, 38%)
HSVhsv(297, 66%, 57%)
CMYKcmyk(3.4%, 66.4%, 0%, 42.7%)
CIE-LABlab(37.73, 51.62, -34.85)
CIE-LCHlch(37.73, 62.28, 325.98°)
OKLaboklab(48.53% 0.1415 -0.0966)
OKLCHoklch(48.53% 0.171 325.7)
XYZxyz(17.2708, 9.9357, 28.1967)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3192 #369231
analogous
#5C3192 #8D3192 #923166
triadic
#8D3192 #928D31 #31928D
tetradic
#8D3192 #925C31 #369231 #316692
square
#8D3192 #925C31 #369231 #316692
split-complementary
#8D3192 #669231 #31925C
monochromatic
#341236 #612264 #8D3192 #B941BF #CA6FCF

Accessibility & contrast

On white

7.03
#8D3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3192
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3192#FFFFFF#000000##FFFFFF
##8D31921.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#455D8F
Tritanopia (blue-blind)
#903F5D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3192;
/* rgb */ color: rgb(141, 49, 146);
/* oklch */ color: oklch(48.5% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#b171b2',
    500: '#8d3192',
    950: '#000000',
  },
}
SCSS
$custom: #8d3192;
$custom-light: #b171b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3192",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 296.907,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.17138,
    "h": 325.7
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#8D3192
secondary
#6DB669
accent
#D94F56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3192

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

Preview Lab → · Contrast checker → · Palette generator →

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