#8D1B90#8D1B90

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

Color values

HEX#8D1B90
RGBrgb(141, 27, 144)
HSLhsl(298, 68%, 34%)
HSVhsv(298, 81%, 56%)
CMYKcmyk(2.1%, 81.3%, 0%, 43.5%)
CIE-LABlab(34.93, 58.91, -38.08)
CIE-LCHlch(34.93, 70.14, 327.12°)
OKLaboklab(46.49% 0.1629 -0.1059)
OKLCHoklch(46.49% 0.194 327)
XYZxyz(16.4102, 8.4614, 27.1490)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B90 #1E901B
analogous
#521B90 #8D1B90 #901B58
triadic
#8D1B90 #908D1B #1B908D
tetradic
#8D1B90 #90521B #1E901B #1B5890
square
#8D1B90 #90521B #1E901B #1B5890
split-complementary
#8D1B90 #58901B #1B9052
monochromatic
#280829 #5B115C #8D1B90 #BF25C4 #D949DD

Accessibility & contrast

On white

7.80
#8D1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1B90
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B90#FFFFFF#000000##FFFFFF
##8D1B901.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#913156
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1b90;
/* rgb */ color: rgb(141, 27, 144);
/* oklch */ color: oklch(46.5% 0.194 327.0);
Tailwind
colors: {
  custom: {
    50: '#b267b1',
    500: '#8d1b90',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b90;
$custom-light: #b267b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b90",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 298.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.1943,
    "h": 327
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#8D1B90
secondary
#4BBF48
accent
#EB3D41
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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