#8D1F88#8D1F88

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

Color values

HEX#8D1F88
RGBrgb(141, 31, 136)
HSLhsl(303, 64%, 34%)
HSVhsv(303, 78%, 55%)
CMYKcmyk(0%, 78%, 3.5%, 44.7%)
CIE-LABlab(34.85, 56.44, -33.27)
CIE-LCHlch(34.85, 65.52, 329.48°)
OKLaboklab(46.28% 0.1599 -0.0919)
OKLCHoklch(46.28% 0.184 330.1)
XYZxyz(15.9184, 8.4215, 24.0749)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F88 #1F8D24
analogous
#5B1F8D #8D1F88 #8D1F51
triadic
#8D1F88 #888D1F #1F888D
tetradic
#8D1F88 #8D5B1F #1F8D24 #1F518D
square
#8D1F88 #8D5B1F #1F8D24 #1F518D
split-complementary
#8D1F88 #518D1F #1F8D5B
monochromatic
#290927 #5B1458 #8D1F88 #BF2AB8 #D84ED2

Accessibility & contrast

On white

7.82
#8D1F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D1F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F88
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F88#FFFFFF#000000##FFFFFF
##8D1F881.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1f88;
/* rgb */ color: rgb(141, 31, 136);
/* oklch */ color: oklch(46.3% 0.184 330.1);
Tailwind
colors: {
  custom: {
    50: '#b268ab',
    500: '#8d1f88',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f88;
$custom-light: #b268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f88",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 302.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.18446,
    "h": 330.1
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#8D1F88
secondary
#4DBB52
accent
#E74841
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1F88

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

Preview Lab → · Contrast checker → · Palette generator →

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