#8D2991#8D2991

#8D2991 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 326.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D2991
RGBrgb(141, 41, 145)
HSLhsl(298, 56%, 36%)
HSVhsv(298, 72%, 57%)
CMYKcmyk(2.8%, 71.7%, 0%, 43.1%)
CIE-LABlab(36.54, 54.61, -36.11)
CIE-LCHlch(36.54, 65.47, 326.52°)
OKLaboklab(47.66% 0.1504 -0.1003)
OKLCHoklch(47.66% 0.181 326.3)
XYZxyz(16.8880, 9.2941, 27.6870)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2991 #2D9129
analogous
#592991 #8D2991 #912961
triadic
#8D2991 #918D29 #29918D
tetradic
#8D2991 #915929 #2D9129 #296191
square
#8D2991 #915929 #2D9129 #296191
split-complementary
#8D2991 #619129 #299159
monochromatic
#300E32 #5F1C61 #8D2991 #BB36C1 #CE62D3

Accessibility & contrast

On white

7.35
#8D2991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2991
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2991#FFFFFF#000000##FFFFFF
##8D29911.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E94
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#91395A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2991;
/* rgb */ color: rgb(141, 41, 145);
/* oklch */ color: oklch(47.7% 0.181 326.3);
Tailwind
colors: {
  custom: {
    50: '#b26db2',
    500: '#8d2991',
    950: '#000000',
  },
}
SCSS
$custom: #8d2991;
$custom-light: #b26db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2991",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 297.692,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.18072,
    "h": 326.3
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#8D2991
secondary
#61B85D
accent
#DF494E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2991

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

Preview Lab → · Contrast checker → · Palette generator →

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