#8D2C8E#8D2C8E

#8D2C8E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 327.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8D2C8E
RGBrgb(141, 44, 142)
HSLhsl(299, 53%, 36%)
HSVhsv(299, 69%, 56%)
CMYKcmyk(0.7%, 69%, 0%, 44.3%)
CIE-LABlab(36.78, 52.93, -33.91)
CIE-LCHlch(36.78, 62.86, 327.36°)
OKLaboklab(47.77% 0.1471 -0.0939)
OKLCHoklch(47.77% 0.175 327.5)
XYZxyz(16.7674, 9.4182, 26.5207)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C8E #2D8E2C
analogous
#5C2C8E #8D2C8E #8E2C5E
triadic
#8D2C8E #8E8D2C #2C8E8D
tetradic
#8D2C8E #8E5C2C #2D8E2C #2C5E8E
square
#8D2C8E #8E5C2C #2D8E2C #2C5E8E
split-complementary
#8D2C8E #5E8E2C #2C8E5C
monochromatic
#300F31 #5F1E5F #8D2C8E #BB3ABD #CE65CF

Accessibility & contrast

On white

7.28
#8D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C8E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C8E#FFFFFF#000000##FFFFFF
##8D2C8E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#913A59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c8e;
/* rgb */ color: rgb(141, 44, 142);
/* oklch */ color: oklch(47.8% 0.175 327.5);
Tailwind
colors: {
  custom: {
    50: '#b16eaf',
    500: '#8d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c8e;
$custom-light: #b16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c8e",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 299.388,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.17451,
    "h": 327.5
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#8D2C8E
secondary
#61B660
accent
#DC4C4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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