#8D2F89#8D2F89

#8D2F89 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 329.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8D2F89
RGBrgb(141, 47, 137)
HSLhsl(303, 50%, 37%)
HSVhsv(303, 67%, 55%)
CMYKcmyk(0%, 66.7%, 2.8%, 44.7%)
CIE-LABlab(36.94, 50.84, -30.59)
CIE-LCHlch(36.94, 59.34, 328.97°)
OKLaboklab(47.8% 0.1434 -0.0843)
OKLCHoklch(47.8% 0.166 329.6)
XYZxyz(16.5162, 9.5031, 24.6264)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F89 #2F8D33
analogous
#622F8D #8D2F89 #8D2F5A
triadic
#8D2F89 #898D2F #2F898D
tetradic
#8D2F89 #8D622F #2F8D33 #2F5A8D
square
#8D2F89 #8D622F #2F8D33 #2F5A8D
split-complementary
#8D2F89 #5A8D2F #2F8D62
monochromatic
#311030 #5F205C #8D2F89 #BB3EB6 #CD69C9

Accessibility & contrast

On white

7.24
#8D2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F89
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F89#FFFFFF#000000##FFFFFF
##8D2F891.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#485B87
Tritanopia (blue-blind)
#923A58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2f89;
/* rgb */ color: rgb(141, 47, 137);
/* oklch */ color: oklch(47.8% 0.166 329.6);
Tailwind
colors: {
  custom: {
    50: '#b16fac',
    500: '#8d2f89',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f89;
$custom-light: #b16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f89",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 302.553,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.16637,
    "h": 329.6
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#8D2F89
secondary
#64B467
accent
#DA544E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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