#8D2591#8D2591

#8D2591 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.185 H 326.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2591
RGBrgb(141, 37, 145)
HSLhsl(298, 59%, 36%)
HSVhsv(298, 74%, 57%)
CMYKcmyk(2.8%, 74.5%, 0%, 43.1%)
CIE-LABlab(36.04, 56.03, -36.91)
CIE-LCHlch(36.04, 67.10, 326.63°)
OKLaboklab(47.3% 0.1543 -0.1025)
OKLCHoklch(47.3% 0.185 326.4)
XYZxyz(16.7566, 9.0313, 27.6432)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2591 #299125
analogous
#572591 #8D2591 #91255F
triadic
#8D2591 #918D25 #25918D
tetradic
#8D2591 #915725 #299125 #255F91
square
#8D2591 #915725 #299125 #255F91
split-complementary
#8D2591 #5F9125 #259157
monochromatic
#2E0C2F #5E1960 #8D2591 #BC31C2 #D15BD5

Accessibility & contrast

On white

7.48
#8D2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2591
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2591#FFFFFF#000000##FFFFFF
##8D25911.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C94
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#913759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2591;
/* rgb */ color: rgb(141, 37, 145);
/* oklch */ color: oklch(47.3% 0.185 326.4);
Tailwind
colors: {
  custom: {
    50: '#b26bb2',
    500: '#8d2591',
    950: '#000000',
  },
}
SCSS
$custom: #8d2591;
$custom-light: #b26bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2591",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 297.778,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.18529,
    "h": 326.4
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#8D2591
secondary
#5BBA58
accent
#E3454B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2591

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

Preview Lab → · Contrast checker → · Palette generator →

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