#8D1E7D#8D1E7D

#8D1E7D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.177 H 334.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D1E7D
RGBrgb(141, 30, 125)
HSLhsl(309, 65%, 34%)
HSVhsv(309, 79%, 55%)
CMYKcmyk(0%, 78.7%, 11.3%, 44.7%)
CIE-LABlab(34.14, 55.00, -27.55)
CIE-LCHlch(34.14, 61.52, 333.40°)
OKLaboklab(45.57% 0.1604 -0.0754)
OKLCHoklch(45.57% 0.177 334.8)
XYZxyz(15.1506, 8.0733, 20.1584)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7D #1E8D2E
analogous
#651E8D #8D1E7D #8D1E45
triadic
#8D1E7D #7D8D1E #1E7D8D
tetradic
#8D1E7D #8D651E #1E8D2E #1E458D
square
#8D1E7D #8D651E #1E8D2E #1E458D
split-complementary
#8D1E7D #458D1E #1E8D65
monochromatic
#280924 #5B1350 #8D1E7D #BF29AA #D94CC5

Accessibility & contrast

On white

8.03
#8D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E7D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7D#FFFFFF#000000##FFFFFF
##8D1E7D1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#94284C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7d;
/* rgb */ color: rgb(141, 30, 125);
/* oklch */ color: oklch(45.6% 0.177 334.8);
Tailwind
colors: {
  custom: {
    50: '#b267a3',
    500: '#8d1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7d;
$custom-light: #b267a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7d",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 308.649,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.17727,
    "h": 334.8
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#8D1E7D
secondary
#4BBC5B
accent
#E85840
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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