#8D2791#8D2791

#8D2791 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.183 H 326.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8D2791
RGBrgb(141, 39, 145)
HSLhsl(298, 58%, 36%)
HSVhsv(298, 73%, 57%)
CMYKcmyk(2.8%, 73.1%, 0%, 43.1%)
CIE-LABlab(36.29, 55.33, -36.52)
CIE-LCHlch(36.29, 66.30, 326.58°)
OKLaboklab(47.48% 0.1524 -0.1014)
OKLCHoklch(47.48% 0.183 326.4)
XYZxyz(16.8205, 9.1592, 27.6645)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2791 #2B9127
analogous
#582791 #8D2791 #912760
triadic
#8D2791 #918D27 #27918D
tetradic
#8D2791 #915827 #2B9127 #276091
square
#8D2791 #915827 #2B9127 #276091
split-complementary
#8D2791 #609127 #279158
monochromatic
#2F0D31 #5E1A61 #8D2791 #BC34C1 #CF5FD4

Accessibility & contrast

On white

7.42
#8D2791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2791
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2791#FFFFFF#000000##FFFFFF
##8D27911.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#91385A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2791;
/* rgb */ color: rgb(141, 39, 145);
/* oklch */ color: oklch(47.5% 0.183 326.4);
Tailwind
colors: {
  custom: {
    50: '#b26cb2',
    500: '#8d2791',
    950: '#000000',
  },
}
SCSS
$custom: #8d2791;
$custom-light: #b26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2791",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 297.736,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.18305,
    "h": 326.4
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#8D2791
secondary
#5EB95B
accent
#E1474D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2791

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

Preview Lab → · Contrast checker → · Palette generator →

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