#8D2C99#8D2C99

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

Color values

HEX#8D2C99
RGBrgb(141, 44, 153)
HSLhsl(293, 55%, 39%)
HSVhsv(293, 71%, 60%)
CMYKcmyk(7.8%, 71.2%, 0%, 40%)
CIE-LABlab(37.42, 54.93, -39.60)
CIE-LCHlch(37.42, 67.71, 324.21°)
OKLaboklab(48.44% 0.1471 -0.1104)
OKLCHoklch(48.44% 0.184 323.1)
XYZxyz(17.6344, 9.7650, 31.0868)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C99 #38992C
analogous
#562C99 #8D2C99 #992C6E
triadic
#8D2C99 #998D2C #2C998D
tetradic
#8D2C99 #99562C #38992C #2C6E99
square
#8D2C99 #99562C #38992C #2C6E99
split-complementary
#8D2C99 #6E992C #2C9956
monochromatic
#35113A #611E69 #8D2C99 #B73BC7 #C96BD4

Accessibility & contrast

On white

7.11
#8D2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C99
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C99#FFFFFF#000000##FFFFFF
##8D2C991.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2c99;
/* rgb */ color: rgb(141, 44, 153);
/* oklch */ color: oklch(48.4% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#b26eb7',
    500: '#8d2c99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c99;
$custom-light: #b26eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c99",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 293.394,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.18393,
    "h": 323.1
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#8D2C99
secondary
#6FBB66
accent
#DF495A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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