#8D2789#8D2789

#8D2789 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.177 H 329.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8D2789
RGBrgb(141, 39, 137)
HSLhsl(302, 57%, 35%)
HSVhsv(302, 72%, 55%)
CMYKcmyk(0%, 72.3%, 2.8%, 44.7%)
CIE-LABlab(35.83, 53.95, -32.33)
CIE-LCHlch(35.83, 62.90, 329.07°)
OKLaboklab(47% 0.1523 -0.0892)
OKLCHoklch(47% 0.177 329.6)
XYZxyz(16.2253, 8.9211, 24.5294)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2789 #278D2B
analogous
#5E278D #8D2789 #8D2756
triadic
#8D2789 #898D27 #27898D
tetradic
#8D2789 #8D5E27 #278D2B #27568D
square
#8D2789 #8D5E27 #278D2B #27568D
split-complementary
#8D2789 #568D27 #278D5E
monochromatic
#2D0C2C #5D1A5A #8D2789 #BD34B8 #D25CCD

Accessibility & contrast

On white

7.54
#8D2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2789
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2789#FFFFFF#000000##FFFFFF
##8D27891.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8C
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#923455
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2789;
/* rgb */ color: rgb(141, 39, 137);
/* oklch */ color: oklch(47.0% 0.177 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8d2789',
    950: '#000000',
  },
}
SCSS
$custom: #8d2789;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2789",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 302.353,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.17654,
    "h": 329.6
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#8D2789
secondary
#59B75C
accent
#E04E48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2789

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

Preview Lab → · Contrast checker → · Palette generator →

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