#8D1E82#8D1E82

#8D1E82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.181 H 332.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8D1E82
RGBrgb(141, 30, 130)
HSLhsl(306, 65%, 34%)
HSVhsv(306, 79%, 55%)
CMYKcmyk(0%, 78.7%, 7.8%, 44.7%)
CIE-LABlab(34.40, 55.78, -30.25)
CIE-LCHlch(34.40, 63.45, 331.53°)
OKLaboklab(45.86% 0.1607 -0.0832)
OKLCHoklch(45.86% 0.181 332.6)
XYZxyz(15.4781, 8.2043, 21.8832)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E82 #1E8D29
analogous
#601E8D #8D1E82 #8D1E4A
triadic
#8D1E82 #828D1E #1E828D
tetradic
#8D1E82 #8D601E #1E8D29 #1E4A8D
square
#8D1E82 #8D601E #1E8D29 #1E4A8D
split-complementary
#8D1E82 #4A8D1E #1E8D60
monochromatic
#280925 #5B1353 #8D1E82 #BF29B1 #D94CCB

Accessibility & contrast

On white

7.95
#8D1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E82
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E82#FFFFFF#000000##FFFFFF
##8D1E821.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#932B4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1e82;
/* rgb */ color: rgb(141, 30, 130);
/* oklch */ color: oklch(45.9% 0.181 332.6);
Tailwind
colors: {
  custom: {
    50: '#b268a6',
    500: '#8d1e82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e82;
$custom-light: #b268a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e82",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 305.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.18093,
    "h": 332.6
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#8D1E82
secondary
#4BBC56
accent
#E85140
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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