#8D2D99#8D2D99

#8D2D99 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.183 H 323.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8D2D99
RGBrgb(141, 45, 153)
HSLhsl(293, 55%, 39%)
HSVhsv(293, 71%, 60%)
CMYKcmyk(7.8%, 70.6%, 0%, 40%)
CIE-LABlab(37.55, 54.54, -39.38)
CIE-LCHlch(37.55, 67.27, 324.17°)
OKLaboklab(48.54% 0.146 -0.1098)
OKLCHoklch(48.54% 0.183 323.1)
XYZxyz(17.6721, 9.8404, 31.0994)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D99 #39992D
analogous
#572D99 #8D2D99 #992D6F
triadic
#8D2D99 #998D2D #2D998D
tetradic
#8D2D99 #99572D #39992D #2D6F99
square
#8D2D99 #99572D #39992D #2D6F99
split-complementary
#8D2D99 #6F992D #2D9957
monochromatic
#36113A #611F6A #8D2D99 #B73DC6 #C86CD4

Accessibility & contrast

On white

7.08
#8D2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D99
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D99#FFFFFF#000000##FFFFFF
##8D2D991.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#8F4060
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d99;
/* rgb */ color: rgb(141, 45, 153);
/* oklch */ color: oklch(48.5% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8d2d99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d99;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d99",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 293.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48538,
    "c": 0.18271,
    "h": 323.1
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#8D2D99
secondary
#70BB67
accent
#DE4A5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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