#8D1B9F#8D1B9F

#8D1B9F is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.5% C 0.206 H 321.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8D1B9F
RGBrgb(141, 27, 159)
HSLhsl(292, 71%, 36%)
HSVhsv(292, 83%, 62%)
CMYKcmyk(11.3%, 83%, 0%, 37.6%)
CIE-LABlab(35.89, 61.51, -45.68)
CIE-LCHlch(35.89, 76.62, 323.40°)
OKLaboklab(47.48% 0.1614 -0.1281)
OKLCHoklch(47.48% 0.206 321.6)
XYZxyz(17.6338, 8.9508, 33.5930)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B9F #2D9F1B
analogous
#4B1B9F #8D1B9F #9F1B6F
triadic
#8D1B9F #9F8D1B #1B9F8D
tetradic
#8D1B9F #9F4B1B #2D9F1B #1B6F9F
square
#8D1B9F #9F4B1B #2D9F1B #1B6F9F
split-complementary
#8D1B9F #6F9F1B #1B9F4B
monochromatic
#300936 #5F126B #8D1B9F #BB24D3 #CE53E2

Accessibility & contrast

On white

7.53
#8D1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B9F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B9F#FFFFFF#000000##FFFFFF
##8D1B9F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#8E395F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1b9f;
/* rgb */ color: rgb(141, 27, 159);
/* oklch */ color: oklch(47.5% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#b268bc',
    500: '#8d1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b9f;
$custom-light: #b268bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b9f",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 291.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.20606,
    "h": 321.6
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#8D1B9F
secondary
#61C551
accent
#EE3A53
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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