#8D1B8F#8D1B8F

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

Color values

HEX#8D1B8F
RGBrgb(141, 27, 143)
HSLhsl(299, 68%, 33%)
HSVhsv(299, 81%, 56%)
CMYKcmyk(1.4%, 81.1%, 0%, 43.9%)
CIE-LABlab(34.86, 58.74, -37.56)
CIE-LCHlch(34.86, 69.72, 327.40°)
OKLaboklab(46.43% 0.163 -0.1044)
OKLCHoklch(46.43% 0.194 327.4)
XYZxyz(16.3341, 8.4310, 26.7483)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B8F #1D8F1B
analogous
#531B8F #8D1B8F #8F1B57
triadic
#8D1B8F #8F8D1B #1B8F8D
tetradic
#8D1B8F #8F531B #1D8F1B #1B578F
square
#8D1B8F #8F531B #1D8F1B #1B578F
split-complementary
#8D1B8F #578F1B #1B8F53
monochromatic
#270828 #5A115C #8D1B8F #C025C2 #DA48DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1B8F#FFFFFF#000000##FFFFFF
##8D1B8F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#913056
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1b8f;
/* rgb */ color: rgb(141, 27, 143);
/* oklch */ color: oklch(46.4% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#b267b0',
    500: '#8d1b8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b8f;
$custom-light: #b267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b8f",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 298.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.19353,
    "h": 327.4
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#8D1B8F
secondary
#4ABE48
accent
#EB3D40
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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