#8D1E8F#8D1E8F

#8D1E8F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.191 H 327.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8D1E8F
RGBrgb(141, 30, 143)
HSLhsl(299, 65%, 34%)
HSVhsv(299, 79%, 56%)
CMYKcmyk(1.4%, 79%, 0%, 43.9%)
CIE-LABlab(35.15, 57.90, -37.10)
CIE-LCHlch(35.15, 68.77, 327.35°)
OKLaboklab(46.63% 0.1606 -0.103)
OKLCHoklch(46.63% 0.191 327.3)
XYZxyz(16.4065, 8.5756, 26.7724)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E8F #208F1E
analogous
#551E8F #8D1E8F #8F1E59
triadic
#8D1E8F #8F8D1E #1E8F8D
tetradic
#8D1E8F #8F551E #208F1E #1E598F
square
#8D1E8F #8F551E #208F1E #1E598F
split-complementary
#8D1E8F #598F1E #1E8F55
monochromatic
#29092A #5B135C #8D1E8F #BF29C2 #D74EDA

Accessibility & contrast

On white

7.74
#8D1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E8F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E8F#FFFFFF#000000##FFFFFF
##8D1E8F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#913256
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1e8f;
/* rgb */ color: rgb(141, 30, 143);
/* oklch */ color: oklch(46.6% 0.191 327.3);
Tailwind
colors: {
  custom: {
    50: '#b268b0',
    500: '#8d1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e8f;
$custom-light: #b268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e8f",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 298.938,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.19083,
    "h": 327.3
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#8D1E8F
secondary
#4EBC4C
accent
#E84043
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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