#8D2B99#8D2B99

#8D2B99 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 323.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D2B99
RGBrgb(141, 43, 153)
HSLhsl(293, 56%, 38%)
HSVhsv(293, 72%, 60%)
CMYKcmyk(7.8%, 71.9%, 0%, 40%)
CIE-LABlab(37.28, 55.31, -39.81)
CIE-LCHlch(37.28, 68.15, 324.25°)
OKLaboklab(48.34% 0.1481 -0.111)
OKLCHoklch(48.34% 0.185 323.1)
XYZxyz(17.5976, 9.6914, 31.0745)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B99 #37992B
analogous
#562B99 #8D2B99 #992B6E
triadic
#8D2B99 #998D2B #2B998D
tetradic
#8D2B99 #99562B #37992B #2B6E99
square
#8D2B99 #99562B #37992B #2B6E99
split-complementary
#8D2B99 #6E992B #2B9956
monochromatic
#351039 #611E69 #8D2B99 #B83AC8 #C969D5

Accessibility & contrast

On white

7.15
#8D2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B99
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B99#FFFFFF#000000##FFFFFF
##8D2B991.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#8F3E5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2b99;
/* rgb */ color: rgb(141, 43, 153);
/* oklch */ color: oklch(48.3% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#b26eb7',
    500: '#8d2b99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b99;
$custom-light: #b26eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b99",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 293.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.18514,
    "h": 323.1
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#8D2B99
secondary
#6EBC64
accent
#DF4859
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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