#8D2291#8D2291

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

Color values

HEX#8D2291
RGBrgb(141, 34, 145)
HSLhsl(298, 62%, 35%)
HSVhsv(298, 77%, 57%)
CMYKcmyk(2.8%, 76.6%, 0%, 43.1%)
CIE-LABlab(35.70, 57.02, -37.46)
CIE-LCHlch(35.70, 68.23, 326.70°)
OKLaboklab(47.06% 0.1571 -0.1041)
OKLCHoklch(47.06% 0.188 326.5)
XYZxyz(16.6671, 8.8523, 27.6134)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2291 #269122
analogous
#562291 #8D2291 #91225D
triadic
#8D2291 #918D22 #22918D
tetradic
#8D2291 #915622 #269122 #225D91
square
#8D2291 #915622 #269122 #225D91
split-complementary
#8D2291 #5D9122 #229156
monochromatic
#2D0B2E #5D165F #8D2291 #BD2EC3 #D356D7

Accessibility & contrast

On white

7.58
#8D2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2291
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2291#FFFFFF#000000##FFFFFF
##8D22911.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#3D598E
Tritanopia (blue-blind)
#913558
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2291;
/* rgb */ color: rgb(141, 34, 145);
/* oklch */ color: oklch(47.1% 0.188 326.5);
Tailwind
colors: {
  custom: {
    50: '#b26ab2',
    500: '#8d2291',
    950: '#000000',
  },
}
SCSS
$custom: #8d2291;
$custom-light: #b26ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2291",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 297.838,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.18849,
    "h": 326.5
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#8D2291
secondary
#57BB53
accent
#E54349
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2291

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

Preview Lab → · Contrast checker → · Palette generator →

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