#8D1E7C#8D1E7C

#8D1E7C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.177 H 335.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8D1E7C
RGBrgb(141, 30, 124)
HSLhsl(309, 65%, 34%)
HSVhsv(309, 79%, 55%)
CMYKcmyk(0%, 78.7%, 12.1%, 44.7%)
CIE-LABlab(34.08, 54.85, -27.01)
CIE-LCHlch(34.08, 61.14, 333.79°)
OKLaboklab(45.52% 0.1604 -0.0738)
OKLCHoklch(45.52% 0.177 335.3)
XYZxyz(15.0871, 8.0479, 19.8237)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7C #1E8D2F
analogous
#661E8D #8D1E7C #8D1E44
triadic
#8D1E7C #7C8D1E #1E7C8D
tetradic
#8D1E7C #8D661E #1E8D2F #1E448D
square
#8D1E7C #8D661E #1E8D2F #1E448D
split-complementary
#8D1E7C #448D1E #1E8D66
monochromatic
#280923 #5B1350 #8D1E7C #BF29A8 #D94CC3

Accessibility & contrast

On white

8.05
#8D1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1E7C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7C#FFFFFF#000000##FFFFFF
##8D1E7C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#94284C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7c;
/* rgb */ color: rgb(141, 30, 124);
/* oklch */ color: oklch(45.5% 0.177 335.3);
Tailwind
colors: {
  custom: {
    50: '#b267a2',
    500: '#8d1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7c;
$custom-light: #b267a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7c",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 309.189,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.17655,
    "h": 335.3
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#8D1E7C
secondary
#4BBC5C
accent
#E85A40
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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