#8D2F84#8D2F84

#8D2F84 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.162 H 331.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8D2F84
RGBrgb(141, 47, 132)
HSLhsl(306, 50%, 37%)
HSVhsv(306, 67%, 55%)
CMYKcmyk(0%, 66.7%, 6.4%, 44.7%)
CIE-LABlab(36.67, 49.99, -27.92)
CIE-LCHlch(36.67, 57.25, 330.82°)
OKLaboklab(47.53% 0.143 -0.0766)
OKLCHoklch(47.53% 0.162 331.8)
XYZxyz(16.1659, 9.3629, 22.7811)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F84 #2F8D38
analogous
#672F8D #8D2F84 #8D2F55
triadic
#8D2F84 #848D2F #2F848D
tetradic
#8D2F84 #8D672F #2F8D38 #2F558D
square
#8D2F84 #8D672F #2F8D38 #2F558D
split-complementary
#8D2F84 #558D2F #2F8D67
monochromatic
#31102E #5F2059 #8D2F84 #BB3EAF #CD69C4

Accessibility & contrast

On white

7.31
#8D2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F84
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F84#FFFFFF#000000##FFFFFF
##8D2F841.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#933855
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2f84;
/* rgb */ color: rgb(141, 47, 132);
/* oklch */ color: oklch(47.5% 0.162 331.8);
Tailwind
colors: {
  custom: {
    50: '#b16fa8',
    500: '#8d2f84',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f84;
$custom-light: #b16fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f84",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 305.745,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.16222,
    "h": 331.8
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#8D2F84
secondary
#64B46B
accent
#DA5C4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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