#8D1989#8D1989

#8D1989 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.191 H 329.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D1989
RGBrgb(141, 25, 137)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 82%, 55%)
CMYKcmyk(0%, 82.3%, 2.8%, 44.7%)
CIE-LABlab(34.33, 58.28, -34.72)
CIE-LCHlch(34.33, 67.84, 329.22°)
OKLaboklab(45.93% 0.1647 -0.0961)
OKLCHoklch(45.93% 0.191 329.7)
XYZxyz(15.8474, 8.1654, 24.4035)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1989 #198D1D
analogous
#57198D #8D1989 #8D194F
triadic
#8D1989 #898D19 #19898D
tetradic
#8D1989 #8D5719 #198D1D #194F8D
square
#8D1989 #8D5719 #198D1D #194F8D
split-complementary
#8D1989 #4F8D19 #198D57
monochromatic
#250724 #591056 #8D1989 #C122BC #DE43D8

Accessibility & contrast

On white

7.98
#8D1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1989
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1989#FFFFFF#000000##FFFFFF
##8D19891.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#922C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1989;
/* rgb */ color: rgb(141, 25, 137);
/* oklch */ color: oklch(45.9% 0.191 329.7);
Tailwind
colors: {
  custom: {
    50: '#b266ac',
    500: '#8d1989',
    950: '#000000',
  },
}
SCSS
$custom: #8d1989;
$custom-light: #b266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1989",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 302.069,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.19069,
    "h": 329.7
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#8D1989
secondary
#43BF47
accent
#ED413B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1989

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

Preview Lab → · Contrast checker → · Palette generator →

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