#8D2E8D#8D2E8D

#8D2E8D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.171 H 327.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8D2E8D
RGBrgb(141, 46, 141)
HSLhsl(300, 51%, 37%)
HSVhsv(300, 67%, 55%)
CMYKcmyk(0%, 67.4%, 0%, 44.7%)
CIE-LABlab(37.01, 51.96, -32.93)
CIE-LCHlch(37.01, 61.52, 327.63°)
OKLaboklab(47.92% 0.1448 -0.0911)
OKLCHoklch(47.92% 0.171 327.8)
XYZxyz(16.7690, 9.5409, 26.1525)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E8D #2E8D2E
analogous
#5E2E8D #8D2E8D #8D2E5E
triadic
#8D2E8D #8D8D2E #2E8D8D
tetradic
#8D2E8D #8D5E2E #2E8D2E #2E5E8D
square
#8D2E8D #8D5E2E #2E8D2E #2E5E8D
split-complementary
#8D2E8D #5E8D2E #2E8D5E
monochromatic
#311031 #5F1F5F #8D2E8D #BB3DBB #CE68CE

Accessibility & contrast

On white

7.22
#8D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E8D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E8D#FFFFFF#000000##FFFFFF
##8D2E8D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#465B8A
Tritanopia (blue-blind)
#913B5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2e8d;
/* rgb */ color: rgb(141, 46, 141);
/* oklch */ color: oklch(47.9% 0.171 327.8);
Tailwind
colors: {
  custom: {
    50: '#b16faf',
    500: '#8d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e8d;
$custom-light: #b16faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e8d",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47921,
    "c": 0.17108,
    "h": 327.8
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#8D2E8D
secondary
#62B562
accent
#DA4E4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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