#8D1D83#8D1D83

#8D1D83 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.183 H 332.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8D1D83
RGBrgb(141, 29, 131)
HSLhsl(305, 66%, 33%)
HSVhsv(305, 79%, 55%)
CMYKcmyk(0%, 79.4%, 7.1%, 44.7%)
CIE-LABlab(34.36, 56.23, -30.94)
CIE-LCHlch(34.36, 64.18, 331.18°)
OKLaboklab(45.84% 0.1616 -0.0852)
OKLCHoklch(45.84% 0.183 332.2)
XYZxyz(15.5207, 8.1815, 22.2301)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D83 #1D8D27
analogous
#5F1D8D #8D1D83 #8D1D4B
triadic
#8D1D83 #838D1D #1D838D
tetradic
#8D1D83 #8D5F1D #1D8D27 #1D4B8D
square
#8D1D83 #8D5F1D #1D8D27 #1D4B8D
split-complementary
#8D1D83 #4B8D1D #1D8D5F
monochromatic
#270825 #5A1354 #8D1D83 #C027B2 #DA4BCD

Accessibility & contrast

On white

7.97
#8D1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1D83
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D83#FFFFFF#000000##FFFFFF
##8D1D831.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144786
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#932B4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d83;
/* rgb */ color: rgb(141, 29, 131);
/* oklch */ color: oklch(45.8% 0.183 332.2);
Tailwind
colors: {
  custom: {
    50: '#b267a7',
    500: '#8d1d83',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d83;
$custom-light: #b267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d83",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 305.357,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.18264,
    "h": 332.2
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#8D1D83
secondary
#4ABC54
accent
#E94E3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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