#8D1585#8D1585

#8D1585 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.191 H 331.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1585
RGBrgb(141, 21, 133)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 55%)
CMYKcmyk(0%, 85.1%, 5.7%, 44.7%)
CIE-LABlab(33.76, 58.60, -33.13)
CIE-LCHlch(33.76, 67.32, 330.52°)
OKLaboklab(45.45% 0.1676 -0.0915)
OKLCHoklch(45.45% 0.191 331.4)
XYZxyz(15.4863, 7.8938, 22.8938)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1585 #158D1D
analogous
#59158D #8D1585 #8D1549
triadic
#8D1585 #858D15 #15858D
tetradic
#8D1585 #8D5915 #158D1D #15498D
square
#8D1585 #8D5915 #158D1D #15498D
split-complementary
#8D1585 #498D15 #158D59
monochromatic
#220521 #580D53 #8D1585 #C21DB7 #E23BD7

Accessibility & contrast

On white

8.14
#8D1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1585
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1585#FFFFFF#000000##FFFFFF
##8D15851.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#93274F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1585;
/* rgb */ color: rgb(141, 21, 133);
/* oklch */ color: oklch(45.5% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#b265a9',
    500: '#8d1585',
    950: '#000000',
  },
}
SCSS
$custom: #8d1585;
$custom-light: #b265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1585",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 304,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.1909,
    "h": 331.4
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#8D1585
secondary
#3DC146
accent
#F14337
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1585

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

Preview Lab → · Contrast checker → · Palette generator →

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