#8D1388#8D1388

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

Color values

HEX#8D1388
RGBrgb(141, 19, 136)
HSLhsl(302, 76%, 31%)
HSVhsv(302, 87%, 55%)
CMYKcmyk(0%, 86.5%, 3.5%, 44.7%)
CIE-LABlab(33.79, 59.51, -34.95)
CIE-LCHlch(33.79, 69.01, 329.57°)
OKLaboklab(45.53% 0.1687 -0.0967)
OKLCHoklch(45.53% 0.194 330.2)
XYZxyz(15.6613, 7.9073, 23.9892)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1388 #138D18
analogous
#55138D #8D1388 #8D134B
triadic
#8D1388 #888D13 #13888D
tetradic
#8D1388 #8D5513 #138D18 #134B8D
square
#8D1388 #8D5513 #138D18 #134B8D
split-complementary
#8D1388 #4B8D13 #138D55
monochromatic
#210420 #570C54 #8D1388 #C31ABC #E436DD

Accessibility & contrast

On white

8.14
#8D1388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1388
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1388#FFFFFF#000000##FFFFFF
##8D13881.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#932850
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1388;
/* rgb */ color: rgb(141, 19, 136);
/* oklch */ color: oklch(45.5% 0.194 330.2);
Tailwind
colors: {
  custom: {
    50: '#b264ab',
    500: '#8d1388',
    950: '#000000',
  },
}
SCSS
$custom: #8d1388;
$custom-light: #b264ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1388",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 136
  },
  "hsl": {
    "h": 302.459,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.19448,
    "h": 330.2
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#8D1388
secondary
#3BC140
accent
#F33D35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1388

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

Preview Lab → · Contrast checker → · Palette generator →

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