#8D2E88#8D2E88

#8D2E88 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.167 H 330.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8D2E88
RGBrgb(141, 46, 136)
HSLhsl(303, 51%, 37%)
HSVhsv(303, 67%, 55%)
CMYKcmyk(0%, 67.4%, 3.5%, 44.7%)
CIE-LABlab(36.73, 51.08, -30.29)
CIE-LCHlch(36.73, 59.39, 329.34°)
OKLaboklab(47.64% 0.1445 -0.0834)
OKLCHoklch(47.64% 0.167 330)
XYZxyz(16.4053, 9.3955, 24.2372)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E88 #2E8D33
analogous
#632E8D #8D2E88 #8D2E59
triadic
#8D2E88 #888D2E #2E888D
tetradic
#8D2E88 #8D632E #2E8D33 #2E598D
square
#8D2E88 #8D632E #2E8D33 #2E598D
split-complementary
#8D2E88 #598D2E #2E8D63
monochromatic
#31102F #5F1F5B #8D2E88 #BB3DB5 #CE68C8

Accessibility & contrast

On white

7.29
#8D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2E88
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E88#FFFFFF#000000##FFFFFF
##8D2E881.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#923957
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2e88;
/* rgb */ color: rgb(141, 46, 136);
/* oklch */ color: oklch(47.6% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#b16fab',
    500: '#8d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e88;
$custom-light: #b16fab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e88",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 303.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.16688,
    "h": 330
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#8D2E88
secondary
#62B567
accent
#DA554E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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