#8D1E7F#8D1E7F

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

Color values

HEX#8D1E7F
RGBrgb(141, 30, 127)
HSLhsl(308, 65%, 34%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 78.7%, 9.9%, 44.7%)
CIE-LABlab(34.24, 55.31, -28.63)
CIE-LCHlch(34.24, 62.28, 332.63°)
OKLaboklab(45.68% 0.1606 -0.0785)
OKLCHoklch(45.68% 0.179 333.9)
XYZxyz(15.2797, 8.1249, 20.8381)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7F #1E8D2C
analogous
#631E8D #8D1E7F #8D1E47
triadic
#8D1E7F #7F8D1E #1E7F8D
tetradic
#8D1E7F #8D631E #1E8D2C #1E478D
square
#8D1E7F #8D631E #1E8D2C #1E478D
split-complementary
#8D1E7F #478D1E #1E8D63
monochromatic
#280924 #5B1352 #8D1E7F #BF29AC #D94CC7

Accessibility & contrast

On white

8.00
#8D1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1E7F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7F#FFFFFF#000000##FFFFFF
##8D1E7F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4682
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#94294D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7f;
/* rgb */ color: rgb(141, 30, 127);
/* oklch */ color: oklch(45.7% 0.179 333.9);
Tailwind
colors: {
  custom: {
    50: '#b267a4',
    500: '#8d1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7f;
$custom-light: #b267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7f",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 307.568,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.17873,
    "h": 333.9
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#8D1E7F
secondary
#4BBC59
accent
#E85540
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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