#8D2D7F#8D2D7F

#8D2D7F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.161 H 334.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D2D7F
RGBrgb(141, 45, 127)
HSLhsl(309, 52%, 36%)
HSVhsv(309, 68%, 55%)
CMYKcmyk(0%, 68.1%, 9.9%, 44.7%)
CIE-LABlab(36.12, 49.98, -25.68)
CIE-LCHlch(36.12, 56.19, 332.81°)
OKLaboklab(47.04% 0.1449 -0.0701)
OKLCHoklch(47.04% 0.161 334.2)
XYZxyz(15.7538, 9.0731, 20.9961)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D7F #2D8D3B
analogous
#6B2D8D #8D2D7F #8D2D4F
triadic
#8D2D7F #7F8D2D #2D7F8D
tetradic
#8D2D7F #8D6B2D #2D8D3B #2D4F8D
square
#8D2D7F #8D6B2D #2D8D3B #2D4F8D
split-complementary
#8D2D7F #4F8D2D #2D8D6B
monochromatic
#300F2B #5F1E55 #8D2D7F #BB3CA9 #CE66BF

Accessibility & contrast

On white

7.46
#8D2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D7F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D7F#FFFFFF#000000##FFFFFF
##8D2D7F1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#943452
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2d7f;
/* rgb */ color: rgb(141, 45, 127);
/* oklch */ color: oklch(47.0% 0.161 334.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea4',
    500: '#8d2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d7f;
$custom-light: #b16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d7f",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 308.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.16096,
    "h": 334.2
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#8D2D7F
secondary
#61B56D
accent
#DB614D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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