#8D1881#8D1881

#8D1881 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.186 H 333.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1881
RGBrgb(141, 24, 129)
HSLhsl(306, 71%, 32%)
HSVhsv(306, 83%, 55%)
CMYKcmyk(0%, 83%, 8.5%, 44.7%)
CIE-LABlab(33.78, 57.27, -30.61)
CIE-LCHlch(33.78, 64.94, 331.88°)
OKLaboklab(45.39% 0.1655 -0.0842)
OKLCHoklch(45.39% 0.186 333)
XYZxyz(15.2737, 7.9023, 21.4855)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1881 #188D24
analogous
#5F188D #8D1881 #8D1846
triadic
#8D1881 #818D18 #18818D
tetradic
#8D1881 #8D5F18 #188D24 #18468D
square
#8D1881 #8D5F18 #188D24 #18468D
split-complementary
#8D1881 #468D18 #188D5F
monochromatic
#240621 #590F51 #8D1881 #C121B1 #DF41CE

Accessibility & contrast

On white

8.14
#8D1881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1881
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1881#FFFFFF#000000##FFFFFF
##8D18811.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#94274D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1881;
/* rgb */ color: rgb(141, 24, 129);
/* oklch */ color: oklch(45.4% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#b266a6',
    500: '#8d1881',
    950: '#000000',
  },
}
SCSS
$custom: #8d1881;
$custom-light: #b266a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1881",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 306.154,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.18566,
    "h": 333
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#8D1881
secondary
#42BF4E
accent
#EE4D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1881

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

Preview Lab → · Contrast checker → · Palette generator →

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