#8D2F83#8D2F83

#8D2F83 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.161 H 332.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8D2F83
RGBrgb(141, 47, 131)
HSLhsl(306, 50%, 37%)
HSVhsv(306, 67%, 55%)
CMYKcmyk(0%, 66.7%, 7.1%, 44.7%)
CIE-LABlab(36.62, 49.82, -27.38)
CIE-LCHlch(36.62, 56.84, 331.21°)
OKLaboklab(47.47% 0.1429 -0.075)
OKLCHoklch(47.47% 0.161 332.3)
XYZxyz(16.0978, 9.3357, 22.4224)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F83 #2F8D39
analogous
#682F8D #8D2F83 #8D2F54
triadic
#8D2F83 #838D2F #2F838D
tetradic
#8D2F83 #8D682F #2F8D39 #2F548D
square
#8D2F83 #8D682F #2F8D39 #2F548D
split-complementary
#8D2F83 #548D2F #2F8D68
monochromatic
#31102E #5F2058 #8D2F83 #BB3EAE #CD69C2

Accessibility & contrast

On white

7.33
#8D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F83
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F83#FFFFFF#000000##FFFFFF
##8D2F831.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2f83;
/* rgb */ color: rgb(141, 47, 131);
/* oklch */ color: oklch(47.5% 0.161 332.3);
Tailwind
colors: {
  custom: {
    50: '#b16fa7',
    500: '#8d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f83;
$custom-light: #b16fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f83",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 306.383,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.16141,
    "h": 332.3
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#8D2F83
secondary
#64B46C
accent
#DA5D4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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