#8D1988#8D1988

#8D1988 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.190 H 330.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8D1988
RGBrgb(141, 25, 136)
HSLhsl(303, 70%, 33%)
HSVhsv(303, 82%, 55%)
CMYKcmyk(0%, 82.3%, 3.5%, 44.7%)
CIE-LABlab(34.27, 58.12, -34.19)
CIE-LCHlch(34.27, 67.43, 329.53°)
OKLaboklab(45.87% 0.1647 -0.0946)
OKLCHoklch(45.87% 0.19 330.1)
XYZxyz(15.7760, 8.1368, 24.0275)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1988 #198D1E
analogous
#58198D #8D1988 #8D194E
triadic
#8D1988 #888D19 #19888D
tetradic
#8D1988 #8D5819 #198D1E #194E8D
square
#8D1988 #8D5819 #198D1E #194E8D
split-complementary
#8D1988 #4E8D19 #198D58
monochromatic
#250724 #591056 #8D1988 #C122BA #DE43D7

Accessibility & contrast

On white

7.99
#8D1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1988
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1988#FFFFFF#000000##FFFFFF
##8D19881.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#932B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1988;
/* rgb */ color: rgb(141, 25, 136);
/* oklch */ color: oklch(45.9% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#b266ab',
    500: '#8d1988',
    950: '#000000',
  },
}
SCSS
$custom: #8d1988;
$custom-light: #b266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1988",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 302.586,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.18994,
    "h": 330.1
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#8D1988
secondary
#43BF49
accent
#ED433B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1988

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

Preview Lab → · Contrast checker → · Palette generator →

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