#8D2C91#8D2C91

#8D2C91 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.177 H 326.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8D2C91
RGBrgb(141, 44, 145)
HSLhsl(298, 53%, 37%)
HSVhsv(298, 70%, 57%)
CMYKcmyk(2.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(36.95, 53.47, -35.47)
CIE-LCHlch(36.95, 64.17, 326.44°)
OKLaboklab(47.95% 0.1472 -0.0984)
OKLCHoklch(47.95% 0.177 326.2)
XYZxyz(16.9957, 9.5095, 27.7229)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C91 #30912C
analogous
#5B2C91 #8D2C91 #912C63
triadic
#8D2C91 #918D2C #2C918D
tetradic
#8D2C91 #915B2C #30912C #2C6391
square
#8D2C91 #915B2C #30912C #2C6391
split-complementary
#8D2C91 #63912C #2C915B
monochromatic
#321033 #5F1E62 #8D2C91 #BB3AC0 #CD67D1

Accessibility & contrast

On white

7.24
#8D2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C91
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C91#FFFFFF#000000##FFFFFF
##8D2C911.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F94
Deuteranopia (green-blind)
#425B8E
Tritanopia (blue-blind)
#913B5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2c91;
/* rgb */ color: rgb(141, 44, 145);
/* oklch */ color: oklch(48.0% 0.177 326.2);
Tailwind
colors: {
  custom: {
    50: '#b16eb2',
    500: '#8d2c91',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c91;
$custom-light: #b16eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c91",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 297.624,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.17705,
    "h": 326.2
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#8D2C91
secondary
#65B762
accent
#DD4B51
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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