#8D1580#8D1580

#8D1580 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 333.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1580
RGBrgb(141, 21, 128)
HSLhsl(307, 74%, 32%)
HSVhsv(307, 85%, 55%)
CMYKcmyk(0%, 85.1%, 9.2%, 44.7%)
CIE-LABlab(33.48, 57.84, -30.47)
CIE-LCHlch(33.48, 65.37, 332.22°)
OKLaboklab(45.16% 0.1676 -0.0837)
OKLCHoklch(45.16% 0.187 333.4)
XYZxyz(15.1491, 7.7589, 21.1177)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1580 #158D22
analogous
#5E158D #8D1580 #8D1544
triadic
#8D1580 #808D15 #15808D
tetradic
#8D1580 #8D5E15 #158D22 #15448D
square
#8D1580 #8D5E15 #158D22 #15448D
split-complementary
#8D1580 #448D15 #158D5E
monochromatic
#22051F #580D50 #8D1580 #C21DB0 #E23BD0

Accessibility & contrast

On white

8.23
#8D1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1580
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1580#FFFFFF#000000##FFFFFF
##8D15801.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#42557D
Tritanopia (blue-blind)
#94244C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1580;
/* rgb */ color: rgb(141, 21, 128);
/* oklch */ color: oklch(45.2% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#b265a5',
    500: '#8d1580',
    950: '#000000',
  },
}
SCSS
$custom: #8d1580;
$custom-light: #b265a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1580",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 306.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.18733,
    "h": 333.4
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#8D1580
secondary
#3DC14B
accent
#F14B37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1580

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

Preview Lab → · Contrast checker → · Palette generator →

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