#8D1D89#8D1D89

#8D1D89 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.187 H 329.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D1D89
RGBrgb(141, 29, 137)
HSLhsl(302, 66%, 33%)
HSVhsv(302, 79%, 55%)
CMYKcmyk(0%, 79.4%, 2.8%, 44.7%)
CIE-LABlab(34.70, 57.20, -34.12)
CIE-LCHlch(34.70, 66.60, 329.18°)
OKLaboklab(46.19% 0.1616 -0.0944)
OKLCHoklch(46.19% 0.187 329.7)
XYZxyz(15.9391, 8.3489, 24.4341)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D89 #1D8D21
analogous
#591D8D #8D1D89 #8D1D51
triadic
#8D1D89 #898D1D #1D898D
tetradic
#8D1D89 #8D591D #1D8D21 #1D518D
square
#8D1D89 #8D591D #1D8D21 #1D518D
split-complementary
#8D1D89 #518D1D #1D8D59
monochromatic
#270826 #5A1358 #8D1D89 #C027BA #DA4BD5

Accessibility & contrast

On white

7.87
#8D1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D89
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D89#FFFFFF#000000##FFFFFF
##8D1D891.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#922E53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1d89;
/* rgb */ color: rgb(141, 29, 137);
/* oklch */ color: oklch(46.2% 0.187 329.7);
Tailwind
colors: {
  custom: {
    50: '#b268ac',
    500: '#8d1d89',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d89;
$custom-light: #b268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d89",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 302.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.18716,
    "h": 329.7
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#8D1D89
secondary
#4ABC4E
accent
#E9453F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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