#8D1488#8D1488

#8D1488 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.194 H 330.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8D1488
RGBrgb(141, 20, 136)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 86%, 55%)
CMYKcmyk(0%, 85.8%, 3.5%, 44.7%)
CIE-LABlab(33.86, 59.29, -34.84)
CIE-LCHlch(33.86, 68.77, 329.57°)
OKLaboklab(45.58% 0.1681 -0.0964)
OKLCHoklch(45.58% 0.194 330.2)
XYZxyz(15.6785, 7.9419, 23.9950)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1488 #148D19
analogous
#56148D #8D1488 #8D144C
triadic
#8D1488 #888D14 #14888D
tetradic
#8D1488 #8D5614 #148D19 #144C8D
square
#8D1488 #8D5614 #148D19 #144C8D
split-complementary
#8D1488 #4C8D14 #148D56
monochromatic
#220521 #570C54 #8D1488 #C31CBC #E339DC

Accessibility & contrast

On white

8.11
#8D1488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1488
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1488#FFFFFF#000000##FFFFFF
##8D14881.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#932950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1488;
/* rgb */ color: rgb(141, 20, 136);
/* oklch */ color: oklch(45.6% 0.194 330.2);
Tailwind
colors: {
  custom: {
    50: '#b265ab',
    500: '#8d1488',
    950: '#000000',
  },
}
SCSS
$custom: #8d1488;
$custom-light: #b265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1488",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 136
  },
  "hsl": {
    "h": 302.479,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.1938,
    "h": 330.2
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#8D1488
secondary
#3CC141
accent
#F23E36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1488

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

Preview Lab → · Contrast checker → · Palette generator →

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