#8D2391#8D2391

#8D2391 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.187 H 326.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8D2391
RGBrgb(141, 35, 145)
HSLhsl(298, 61%, 35%)
HSVhsv(298, 76%, 57%)
CMYKcmyk(2.8%, 75.9%, 0%, 43.1%)
CIE-LABlab(35.81, 56.70, -37.28)
CIE-LCHlch(35.81, 67.86, 326.68°)
OKLaboklab(47.14% 0.1562 -0.1036)
OKLCHoklch(47.14% 0.187 326.4)
XYZxyz(16.6961, 8.9103, 27.6230)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2391 #279123
analogous
#562391 #8D2391 #91235E
triadic
#8D2391 #918D23 #23918D
tetradic
#8D2391 #915623 #279123 #235E91
square
#8D2391 #915623 #279123 #235E91
split-complementary
#8D2391 #5E9123 #239156
monochromatic
#2D0B2E #5D1760 #8D2391 #BD2FC2 #D258D7

Accessibility & contrast

On white

7.55
#8D2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2391
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2391#FFFFFF#000000##FFFFFF
##8D23911.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C94
Deuteranopia (green-blind)
#3E598E
Tritanopia (blue-blind)
#913659
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2391;
/* rgb */ color: rgb(141, 35, 145);
/* oklch */ color: oklch(47.1% 0.187 326.4);
Tailwind
colors: {
  custom: {
    50: '#b26ab2',
    500: '#8d2391',
    950: '#000000',
  },
}
SCSS
$custom: #8d2391;
$custom-light: #b26ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2391",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 297.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.18744,
    "h": 326.4
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#8D2391
secondary
#59BB55
accent
#E44449
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2391

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

Preview Lab → · Contrast checker → · Palette generator →

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