#8D2C88#8D2C88

#8D2C88 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 330.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D2C88
RGBrgb(141, 44, 136)
HSLhsl(303, 52%, 36%)
HSVhsv(303, 69%, 55%)
CMYKcmyk(0%, 68.8%, 3.5%, 44.7%)
CIE-LABlab(36.45, 51.89, -30.74)
CIE-LCHlch(36.45, 60.31, 329.36°)
OKLaboklab(47.43% 0.1469 -0.0847)
OKLCHoklch(47.43% 0.17 330)
XYZxyz(16.3290, 9.2429, 24.2118)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C88 #2C8D31
analogous
#622C8D #8D2C88 #8D2C58
triadic
#8D2C88 #888D2C #2C888D
tetradic
#8D2C88 #8D622C #2C8D31 #2C588D
square
#8D2C88 #8D622C #2C8D31 #2C588D
split-complementary
#8D2C88 #588D2C #2C8D62
monochromatic
#300F2E #5E1D5B #8D2C88 #BC3BB5 #CF65C9

Accessibility & contrast

On white

7.37
#8D2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C88
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C88#FFFFFF#000000##FFFFFF
##8D2C881.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#475A86
Tritanopia (blue-blind)
#923856
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c88;
/* rgb */ color: rgb(141, 44, 136);
/* oklch */ color: oklch(47.4% 0.170 330.0);
Tailwind
colors: {
  custom: {
    50: '#b16eab',
    500: '#8d2c88',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c88;
$custom-light: #b16eab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c88",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 303.093,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.16953,
    "h": 330
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#8D2C88
secondary
#60B564
accent
#DC534C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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