#8D1F89#8D1F89

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

Color values

HEX#8D1F89
RGBrgb(141, 31, 137)
HSLhsl(302, 64%, 34%)
HSVhsv(302, 78%, 55%)
CMYKcmyk(0%, 78%, 2.8%, 44.7%)
CIE-LABlab(34.90, 56.61, -33.80)
CIE-LCHlch(34.90, 65.93, 329.16°)
OKLaboklab(46.34% 0.1599 -0.0935)
OKLCHoklch(46.34% 0.185 329.7)
XYZxyz(15.9898, 8.4501, 24.4509)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F89 #1F8D23
analogous
#5A1F8D #8D1F89 #8D1F52
triadic
#8D1F89 #898D1F #1F898D
tetradic
#8D1F89 #8D5A1F #1F8D23 #1F528D
square
#8D1F89 #8D5A1F #1F8D23 #1F528D
split-complementary
#8D1F89 #528D1F #1F8D5A
monochromatic
#290928 #5B1458 #8D1F89 #BF2ABA #D84ED3

Accessibility & contrast

On white

7.81
#8D1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F89
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F89#FFFFFF#000000##FFFFFF
##8D1F891.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1f89;
/* rgb */ color: rgb(141, 31, 137);
/* oklch */ color: oklch(46.3% 0.185 329.7);
Tailwind
colors: {
  custom: {
    50: '#b268ac',
    500: '#8d1f89',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f89;
$custom-light: #b268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f89",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 302.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.18523,
    "h": 329.7
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#8D1F89
secondary
#4DBB51
accent
#E74741
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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