#8D1F86#8D1F86

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

Color values

HEX#8D1F86
RGBrgb(141, 31, 134)
HSLhsl(304, 64%, 34%)
HSVhsv(304, 78%, 55%)
CMYKcmyk(0%, 78%, 5%, 44.7%)
CIE-LABlab(34.73, 56.12, -32.21)
CIE-LCHlch(34.73, 64.71, 330.14°)
OKLaboklab(46.16% 0.1599 -0.0889)
OKLCHoklch(46.16% 0.183 330.9)
XYZxyz(15.7775, 8.3652, 23.3333)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F86 #1F8D26
analogous
#5D1F8D #8D1F86 #8D1F4F
triadic
#8D1F86 #868D1F #1F868D
tetradic
#8D1F86 #8D5D1F #1F8D26 #1F4F8D
square
#8D1F86 #8D5D1F #1F8D26 #1F4F8D
split-complementary
#8D1F86 #4F8D1F #1F8D5D
monochromatic
#290927 #5B1456 #8D1F86 #BF2AB6 #D84ECF

Accessibility & contrast

On white

7.86
#8D1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F86
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F86#FFFFFF#000000##FFFFFF
##8D1F861.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#932E51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1f86;
/* rgb */ color: rgb(141, 31, 134);
/* oklch */ color: oklch(46.2% 0.183 330.9);
Tailwind
colors: {
  custom: {
    50: '#b268a9',
    500: '#8d1f86',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f86;
$custom-light: #b268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f86",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 303.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.18294,
    "h": 330.9
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#8D1F86
secondary
#4DBB54
accent
#E74B41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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