#8D2F86#8D2F86

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

Color values

HEX#8D2F86
RGBrgb(141, 47, 134)
HSLhsl(304, 50%, 37%)
HSVhsv(304, 67%, 55%)
CMYKcmyk(0%, 66.7%, 5%, 44.7%)
CIE-LABlab(36.78, 50.33, -28.99)
CIE-LCHlch(36.78, 58.08, 330.06°)
OKLaboklab(47.63% 0.1432 -0.0797)
OKLCHoklch(47.63% 0.164 330.9)
XYZxyz(16.3040, 9.4182, 23.5088)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F86 #2F8D36
analogous
#652F8D #8D2F86 #8D2F57
triadic
#8D2F86 #868D2F #2F868D
tetradic
#8D2F86 #8D652F #2F8D36 #2F578D
square
#8D2F86 #8D652F #2F8D36 #2F578D
split-complementary
#8D2F86 #578D2F #2F8D65
monochromatic
#31102F #5F205A #8D2F86 #BB3EB2 #CD69C6

Accessibility & contrast

On white

7.28
#8D2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F86
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F86#FFFFFF#000000##FFFFFF
##8D2F861.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#4A5B84
Tritanopia (blue-blind)
#933956
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2f86;
/* rgb */ color: rgb(141, 47, 134);
/* oklch */ color: oklch(47.6% 0.164 330.9);
Tailwind
colors: {
  custom: {
    50: '#b16fa9',
    500: '#8d2f86',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f86;
$custom-light: #b16fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f86",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 304.468,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.16387,
    "h": 330.9
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#8D2F86
secondary
#64B46A
accent
#DA594E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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