#8D1E8E#8D1E8E

#8D1E8E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.190 H 327.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8D1E8E
RGBrgb(141, 30, 142)
HSLhsl(299, 65%, 34%)
HSVhsv(299, 79%, 56%)
CMYKcmyk(0.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(35.09, 57.73, -36.58)
CIE-LCHlch(35.09, 68.35, 327.64°)
OKLaboklab(46.57% 0.1607 -0.1015)
OKLCHoklch(46.57% 0.19 327.7)
XYZxyz(16.3310, 8.5455, 26.3752)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E8E #1F8E1E
analogous
#551E8E #8D1E8E #8E1E57
triadic
#8D1E8E #8E8D1E #1E8E8D
tetradic
#8D1E8E #8E551E #1F8E1E #1E578E
square
#8D1E8E #8E551E #1F8E1E #1E578E
split-complementary
#8D1E8E #578E1E #1E8E55
monochromatic
#290929 #5B135B #8D1E8E #BF29C1 #D84DD9

Accessibility & contrast

On white

7.75
#8D1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1E8E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E8E#FFFFFF#000000##FFFFFF
##8D1E8E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#913156
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1e8e;
/* rgb */ color: rgb(141, 30, 142);
/* oklch */ color: oklch(46.6% 0.190 327.7);
Tailwind
colors: {
  custom: {
    50: '#b268af',
    500: '#8d1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e8e;
$custom-light: #b268af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e8e",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 299.464,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.19005,
    "h": 327.7
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#8D1E8E
secondary
#4DBC4C
accent
#E84041
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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