#8D1C91#8D1C91

#8D1C91 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.194 H 326.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D1C91
RGBrgb(141, 28, 145)
HSLhsl(298, 68%, 34%)
HSVhsv(298, 81%, 57%)
CMYKcmyk(2.8%, 80.7%, 0%, 43.1%)
CIE-LABlab(35.08, 58.81, -38.45)
CIE-LCHlch(35.08, 70.26, 326.83°)
OKLaboklab(46.62% 0.1621 -0.1069)
OKLCHoklch(46.62% 0.194 326.6)
XYZxyz(16.5103, 8.5387, 27.5611)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C91 #20911C
analogous
#531C91 #8D1C91 #911C5B
triadic
#8D1C91 #918D1C #1C918D
tetradic
#8D1C91 #91531C #20911C #1C5B91
square
#8D1C91 #91531C #20911C #1C5B91
split-complementary
#8D1C91 #5B911C #1C9153
monochromatic
#29082A #5B125E #8D1C91 #BF26C4 #D74BDC

Accessibility & contrast

On white

7.76
#8D1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C91
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C91#FFFFFF#000000##FFFFFF
##8D1C911.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#913257
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1c91;
/* rgb */ color: rgb(141, 28, 145);
/* oklch */ color: oklch(46.6% 0.194 326.6);
Tailwind
colors: {
  custom: {
    50: '#b268b2',
    500: '#8d1c91',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c91;
$custom-light: #b268b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c91",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 297.949,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.1942,
    "h": 326.6
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#8D1C91
secondary
#4EBE4A
accent
#EB3D43
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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