#8D2D8D#8D2D8D

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

Color values

HEX#8D2D8D
RGBrgb(141, 45, 141)
HSLhsl(300, 52%, 36%)
HSVhsv(300, 68%, 55%)
CMYKcmyk(0%, 68.1%, 0%, 44.7%)
CIE-LABlab(36.86, 52.36, -33.16)
CIE-LCHlch(36.86, 61.98, 327.65°)
OKLaboklab(47.82% 0.146 -0.0917)
OKLCHoklch(47.82% 0.172 327.9)
XYZxyz(16.7304, 9.4637, 26.1396)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D8D #2D8D2D
analogous
#5D2D8D #8D2D8D #8D2D5D
triadic
#8D2D8D #8D8D2D #2D8D8D
tetradic
#8D2D8D #8D5D2D #2D8D2D #2D5D8D
square
#8D2D8D #8D5D2D #2D8D2D #2D5D8D
split-complementary
#8D2D8D #5D8D2D #2D8D5D
monochromatic
#300F30 #5F1E5F #8D2D8D #BB3CBB #CE66CE

Accessibility & contrast

On white

7.26
#8D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D8D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D8D#FFFFFF#000000##FFFFFF
##8D2D8D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#913A59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2d8d;
/* rgb */ color: rgb(141, 45, 141);
/* oklch */ color: oklch(47.8% 0.172 327.9);
Tailwind
colors: {
  custom: {
    50: '#b16eaf',
    500: '#8d2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d8d;
$custom-light: #b16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d8d",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.17238,
    "h": 327.9
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#8D2D8D
secondary
#61B561
accent
#DB4D4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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