#8D1A88#8D1A88

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

Color values

HEX#8D1A88
RGBrgb(141, 26, 136)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 55%)
CMYKcmyk(0%, 81.6%, 3.5%, 44.7%)
CIE-LABlab(34.36, 57.86, -34.05)
CIE-LCHlch(34.36, 67.13, 329.52°)
OKLaboklab(45.93% 0.164 -0.0941)
OKLCHoklch(45.93% 0.189 330.1)
XYZxyz(15.7978, 8.1804, 24.0347)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A88 #1A8D1F
analogous
#591A8D #8D1A88 #8D1A4E
triadic
#8D1A88 #888D1A #1A888D
tetradic
#8D1A88 #8D591A #1A8D1F #1A4E8D
square
#8D1A88 #8D591A #1A8D1F #1A4E8D
split-complementary
#8D1A88 #4E8D1A #1A8D59
monochromatic
#260724 #591056 #8D1A88 #C124BA #DD45D6

Accessibility & contrast

On white

7.97
#8D1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A88
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A88#FFFFFF#000000##FFFFFF
##8D1A881.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#932C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1a88;
/* rgb */ color: rgb(141, 26, 136);
/* oklch */ color: oklch(45.9% 0.189 330.1);
Tailwind
colors: {
  custom: {
    50: '#b267ab',
    500: '#8d1a88',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a88;
$custom-light: #b267ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a88",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 302.609,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.1891,
    "h": 330.1
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#8D1A88
secondary
#45BE4A
accent
#EC443C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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