#8D1C82#8D1C82

#8D1C82 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.183 H 332.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8D1C82
RGBrgb(141, 28, 130)
HSLhsl(306, 67%, 33%)
HSVhsv(306, 80%, 55%)
CMYKcmyk(0%, 80.1%, 7.8%, 44.7%)
CIE-LABlab(34.20, 56.36, -30.56)
CIE-LCHlch(34.20, 64.11, 331.53°)
OKLaboklab(45.71% 0.1624 -0.0841)
OKLCHoklch(45.71% 0.183 332.6)
XYZxyz(15.4291, 8.1063, 21.8668)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C82 #1C8D27
analogous
#5F1C8D #8D1C82 #8D1C49
triadic
#8D1C82 #828D1C #1C828D
tetradic
#8D1C82 #8D5F1C #1C8D27 #1C498D
square
#8D1C82 #8D5F1C #1C8D27 #1C498D
split-complementary
#8D1C82 #498D1C #1C8D5F
monochromatic
#270824 #5A1253 #8D1C82 #C026B1 #DB49CD

Accessibility & contrast

On white

8.01
#8D1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C82
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C82#FFFFFF#000000##FFFFFF
##8D1C821.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#932A4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1c82;
/* rgb */ color: rgb(141, 28, 130);
/* oklch */ color: oklch(45.7% 0.183 332.6);
Tailwind
colors: {
  custom: {
    50: '#b267a7',
    500: '#8d1c82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c82;
$custom-light: #b267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c82",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 305.841,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.18285,
    "h": 332.6
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#8D1C82
secondary
#48BD53
accent
#EA4F3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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