#8D2989#8D2989

#8D2989 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.174 H 329.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8D2989
RGBrgb(141, 41, 137)
HSLhsl(302, 55%, 36%)
HSVhsv(302, 71%, 55%)
CMYKcmyk(0%, 70.9%, 2.8%, 44.7%)
CIE-LABlab(36.09, 53.22, -31.92)
CIE-LCHlch(36.09, 62.06, 329.05°)
OKLaboklab(47.19% 0.1502 -0.0881)
OKLCHoklch(47.19% 0.174 329.6)
XYZxyz(16.2927, 9.0559, 24.5519)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2989 #298D2D
analogous
#5F298D #8D2989 #8D2957
triadic
#8D2989 #898D29 #29898D
tetradic
#8D2989 #8D5F29 #298D2D #29578D
square
#8D2989 #8D5F29 #298D2D #29578D
split-complementary
#8D2989 #578D29 #298D5F
monochromatic
#2E0D2D #5E1B5B #8D2989 #BC37B7 #D160CC

Accessibility & contrast

On white

7.47
#8D2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2989
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2989#FFFFFF#000000##FFFFFF
##8D29891.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#455A86
Tritanopia (blue-blind)
#923656
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2989;
/* rgb */ color: rgb(141, 41, 137);
/* oklch */ color: oklch(47.2% 0.174 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8d2989',
    950: '#000000',
  },
}
SCSS
$custom: #8d2989;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2989",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 302.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.17414,
    "h": 329.6
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#8D2989
secondary
#5BB65F
accent
#DE4F4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2989

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

Preview Lab → · Contrast checker → · Palette generator →

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