#8D4E91#8D4E91

#8D4E91 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.4% C 0.124 H 325.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D4E91
RGBrgb(141, 78, 145)
HSLhsl(296, 30%, 44%)
HSVhsv(296, 46%, 57%)
CMYKcmyk(2.8%, 46.2%, 0%, 43.1%)
CIE-LABlab(43.00, 37.12, -25.96)
CIE-LCHlch(43.00, 45.30, 325.03°)
OKLaboklab(52.38% 0.1016 -0.0712)
OKLCHoklch(52.38% 0.124 325)
XYZxyz(18.8193, 13.1567, 28.3308)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E91 #52914E
analogous
#6B4E91 #8D4E91 #914E73
triadic
#8D4E91 #918D4E #4E918D
tetradic
#8D4E91 #916B4E #52914E #4E7391
square
#8D4E91 #916B4E #52914E #4E7391
split-complementary
#8D4E91 #73914E #4E916B
monochromatic
#402341 #663969 #8D4E91 #AC6CB0 #C294C5

Accessibility & contrast

On white

5.78
#8D4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8D4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E91
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E91#FFFFFF#000000##FFFFFF
##8D4E911.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#59688F
Tritanopia (blue-blind)
#905569
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e91;
/* rgb */ color: rgb(141, 78, 145);
/* oklch */ color: oklch(52.4% 0.124 325.0);
Tailwind
colors: {
  custom: {
    50: '#b082b1',
    500: '#8d4e91',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e91;
$custom-light: #b082b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e91",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 296.418,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.1241,
    "h": 325
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#8D4E91
secondary
#8BB289
accent
#C66268
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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