#8D2D91#8D2D91

#8D2D91 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 326.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D2D91
RGBrgb(141, 45, 145)
HSLhsl(298, 53%, 37%)
HSVhsv(298, 69%, 57%)
CMYKcmyk(2.8%, 69%, 0%, 43.1%)
CIE-LABlab(37.09, 53.07, -35.25)
CIE-LCHlch(37.09, 63.72, 326.41°)
OKLaboklab(48.05% 0.1461 -0.0978)
OKLCHoklch(48.05% 0.176 326.2)
XYZxyz(17.0334, 9.5849, 27.7355)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D91 #31912D
analogous
#5B2D91 #8D2D91 #912D63
triadic
#8D2D91 #918D2D #2D918D
tetradic
#8D2D91 #915B2D #31912D #2D6391
square
#8D2D91 #915B2D #31912D #2D6391
split-complementary
#8D2D91 #63912D #2D915B
monochromatic
#321034 #601F62 #8D2D91 #BA3BC0 #CC68D0

Accessibility & contrast

On white

7.20
#8D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D91
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D91#FFFFFF#000000##FFFFFF
##8D2D911.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#913C5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2d91;
/* rgb */ color: rgb(141, 45, 145);
/* oklch */ color: oklch(48.1% 0.176 326.2);
Tailwind
colors: {
  custom: {
    50: '#b16fb2',
    500: '#8d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d91;
$custom-light: #b16fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d91",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 297.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.17578,
    "h": 326.2
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#8D2D91
secondary
#66B763
accent
#DC4C52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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