#8D1F85#8D1F85

#8D1F85 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.182 H 331.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D1F85
RGBrgb(141, 31, 133)
HSLhsl(304, 64%, 34%)
HSVhsv(304, 78%, 55%)
CMYKcmyk(0%, 78%, 5.7%, 44.7%)
CIE-LABlab(34.68, 55.96, -31.68)
CIE-LCHlch(34.68, 64.30, 330.48°)
OKLaboklab(46.1% 0.1599 -0.0873)
OKLCHoklch(46.1% 0.182 331.4)
XYZxyz(15.7081, 8.3374, 22.9677)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F85 #1F8D27
analogous
#5E1F8D #8D1F85 #8D1F4E
triadic
#8D1F85 #858D1F #1F858D
tetradic
#8D1F85 #8D5E1F #1F8D27 #1F4E8D
square
#8D1F85 #8D5E1F #1F8D27 #1F4E8D
split-complementary
#8D1F85 #4E8D1F #1F8D5E
monochromatic
#290926 #5B1456 #8D1F85 #BF2AB4 #D84ECE

Accessibility & contrast

On white

7.87
#8D1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F85
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F85#FFFFFF#000000##FFFFFF
##8D1F851.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#932D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1f85;
/* rgb */ color: rgb(141, 31, 133);
/* oklch */ color: oklch(46.1% 0.182 331.4);
Tailwind
colors: {
  custom: {
    50: '#b268a9',
    500: '#8d1f85',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f85;
$custom-light: #b268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f85",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 304.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.18218,
    "h": 331.4
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#8D1F85
secondary
#4DBB55
accent
#E74D41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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