#8D2A88#8D2A88

#8D2A88 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 330.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8D2A88
RGBrgb(141, 42, 136)
HSLhsl(303, 54%, 36%)
HSVhsv(303, 70%, 55%)
CMYKcmyk(0%, 70.2%, 3.5%, 44.7%)
CIE-LABlab(36.17, 52.67, -31.18)
CIE-LCHlch(36.17, 61.20, 329.38°)
OKLaboklab(47.23% 0.1491 -0.0859)
OKLCHoklch(47.23% 0.172 330)
XYZxyz(16.2563, 9.0974, 24.1876)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A88 #2A8D2F
analogous
#602A8D #8D2A88 #8D2A56
triadic
#8D2A88 #888D2A #2A888D
tetradic
#8D2A88 #8D602A #2A8D2F #2A568D
square
#8D2A88 #8D602A #2A8D2F #2A568D
split-complementary
#8D2A88 #568D2A #2A8D60
monochromatic
#2F0E2D #5E1C5B #8D2A88 #BC38B5 #D061CA

Accessibility & contrast

On white

7.45
#8D2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A88
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A88#FFFFFF#000000##FFFFFF
##8D2A881.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#923656
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2a88;
/* rgb */ color: rgb(141, 42, 136);
/* oklch */ color: oklch(47.2% 0.172 330.0);
Tailwind
colors: {
  custom: {
    50: '#b16dab',
    500: '#8d2a88',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a88;
$custom-light: #b16dab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a88",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 303.03,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.17209,
    "h": 330
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#8D2A88
secondary
#5DB661
accent
#DD524A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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