#8D2891#8D2891

#8D2891 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.182 H 326.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D2891
RGBrgb(141, 40, 145)
HSLhsl(298, 57%, 36%)
HSVhsv(298, 72%, 57%)
CMYKcmyk(2.8%, 72.4%, 0%, 43.1%)
CIE-LABlab(36.42, 54.97, -36.32)
CIE-LCHlch(36.42, 65.89, 326.55°)
OKLaboklab(47.57% 0.1514 -0.1008)
OKLCHoklch(47.57% 0.182 326.3)
XYZxyz(16.8538, 9.2258, 27.6756)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2891 #2C9128
analogous
#592891 #8D2891 #912861
triadic
#8D2891 #918D28 #28918D
tetradic
#8D2891 #915928 #2C9128 #286191
square
#8D2891 #915928 #2C9128 #286191
split-complementary
#8D2891 #619128 #289159
monochromatic
#300E31 #5E1B61 #8D2891 #BC35C1 #CF60D3

Accessibility & contrast

On white

7.38
#8D2891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2891
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2891#FFFFFF#000000##FFFFFF
##8D28911.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#91395A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2891;
/* rgb */ color: rgb(141, 40, 145);
/* oklch */ color: oklch(47.6% 0.182 326.3);
Tailwind
colors: {
  custom: {
    50: '#b26cb2',
    500: '#8d2891',
    950: '#000000',
  },
}
SCSS
$custom: #8d2891;
$custom-light: #b26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2891",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 297.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.1819,
    "h": 326.3
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#8D2891
secondary
#60B95C
accent
#E0484E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2891

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

Preview Lab → · Contrast checker → · Palette generator →

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