#8D1E88#8D1E88

#8D1E88 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.185 H 330.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8D1E88
RGBrgb(141, 30, 136)
HSLhsl(303, 65%, 34%)
HSVhsv(303, 79%, 55%)
CMYKcmyk(0%, 78.7%, 3.5%, 44.7%)
CIE-LABlab(34.74, 56.74, -33.44)
CIE-LCHlch(34.74, 65.86, 329.49°)
OKLaboklab(46.21% 0.1608 -0.0924)
OKLCHoklch(46.21% 0.185 330.1)
XYZxyz(15.8926, 8.3701, 24.0663)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E88 #1E8D23
analogous
#5A1E8D #8D1E88 #8D1E50
triadic
#8D1E88 #888D1E #1E888D
tetradic
#8D1E88 #8D5A1E #1E8D23 #1E508D
square
#8D1E88 #8D5A1E #1E8D23 #1E508D
split-complementary
#8D1E88 #508D1E #1E8D5A
monochromatic
#280927 #5B1357 #8D1E88 #BF29B9 #D94CD3

Accessibility & contrast

On white

7.85
#8D1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E88
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E88#FFFFFF#000000##FFFFFF
##8D1E881.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#922E52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1e88;
/* rgb */ color: rgb(141, 30, 136);
/* oklch */ color: oklch(46.2% 0.185 330.1);
Tailwind
colors: {
  custom: {
    50: '#b268ab',
    500: '#8d1e88',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e88;
$custom-light: #b268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e88",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 302.703,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.18544,
    "h": 330.1
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#8D1E88
secondary
#4BBC50
accent
#E84740
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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