#8D1882#8D1882

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

Color values

HEX#8D1882
RGBrgb(141, 24, 130)
HSLhsl(306, 71%, 32%)
HSVhsv(306, 83%, 55%)
CMYKcmyk(0%, 83%, 7.8%, 44.7%)
CIE-LABlab(33.83, 57.43, -31.15)
CIE-LCHlch(33.83, 65.33, 331.52°)
OKLaboklab(45.45% 0.1655 -0.0857)
OKLCHoklch(45.45% 0.186 332.6)
XYZxyz(15.3405, 7.9290, 21.8373)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1882 #188D23
analogous
#5E188D #8D1882 #8D1848
triadic
#8D1882 #828D18 #18828D
tetradic
#8D1882 #8D5E18 #188D23 #18488D
square
#8D1882 #8D5E18 #188D23 #18488D
split-complementary
#8D1882 #488D18 #188D5E
monochromatic
#240622 #590F52 #8D1882 #C121B2 #DF41D0

Accessibility & contrast

On white

8.12
#8D1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1882
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1882#FFFFFF#000000##FFFFFF
##8D18821.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#93274E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1882;
/* rgb */ color: rgb(141, 24, 130);
/* oklch */ color: oklch(45.4% 0.186 332.6);
Tailwind
colors: {
  custom: {
    50: '#b266a7',
    500: '#8d1882',
    950: '#000000',
  },
}
SCSS
$custom: #8d1882;
$custom-light: #b266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1882",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 305.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.18639,
    "h": 332.6
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#8D1882
secondary
#42BF4D
accent
#EE4B3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1882

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

Preview Lab → · Contrast checker → · Palette generator →

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