#8D1982#8D1982

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

Color values

HEX#8D1982
RGBrgb(141, 25, 130)
HSLhsl(306, 70%, 33%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 82.3%, 7.8%, 44.7%)
CIE-LABlab(33.92, 57.17, -31.01)
CIE-LCHlch(33.92, 65.04, 331.53°)
OKLaboklab(45.51% 0.1648 -0.0853)
OKLCHoklch(45.51% 0.186 332.6)
XYZxyz(15.3615, 7.9710, 21.8443)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1982 #198D24
analogous
#5E198D #8D1982 #8D1948
triadic
#8D1982 #828D19 #19828D
tetradic
#8D1982 #8D5E19 #198D24 #19488D
square
#8D1982 #8D5E19 #198D24 #19488D
split-complementary
#8D1982 #488D19 #198D5E
monochromatic
#250722 #591052 #8D1982 #C122B2 #DE43CF

Accessibility & contrast

On white

8.10
#8D1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1982
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1982#FFFFFF#000000##FFFFFF
##8D19821.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#43557F
Tritanopia (blue-blind)
#93284E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1982;
/* rgb */ color: rgb(141, 25, 130);
/* oklch */ color: oklch(45.5% 0.186 332.6);
Tailwind
colors: {
  custom: {
    50: '#b266a7',
    500: '#8d1982',
    950: '#000000',
  },
}
SCSS
$custom: #8d1982;
$custom-light: #b266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1982",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 305.69,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.18554,
    "h": 332.6
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#8D1982
secondary
#43BF4F
accent
#ED4C3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1982

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

Preview Lab → · Contrast checker → · Palette generator →

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