#8D2D8B#8D2D8B

#8D2D8B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.171 H 328.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8D2D8B
RGBrgb(141, 45, 139)
HSLhsl(301, 52%, 36%)
HSVhsv(301, 68%, 55%)
CMYKcmyk(0%, 68.1%, 1.4%, 44.7%)
CIE-LABlab(36.75, 52.01, -32.11)
CIE-LCHlch(36.75, 61.12, 328.31°)
OKLaboklab(47.7% 0.1459 -0.0887)
OKLCHoklch(47.7% 0.171 328.7)
XYZxyz(16.5829, 9.4047, 25.3630)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D8B #2D8D2F
analogous
#5F2D8D #8D2D8B #8D2D5B
triadic
#8D2D8B #8B8D2D #2D8B8D
tetradic
#8D2D8B #8D5F2D #2D8D2F #2D5B8D
square
#8D2D8B #8D5F2D #2D8D2F #2D5B8D
split-complementary
#8D2D8B #5B8D2D #2D8D5F
monochromatic
#300F30 #5F1E5D #8D2D8B #BB3CB9 #CE66CC

Accessibility & contrast

On white

7.29
#8D2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D8B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D8B#FFFFFF#000000##FFFFFF
##8D2D8B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#923A58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2d8b;
/* rgb */ color: rgb(141, 45, 139);
/* oklch */ color: oklch(47.7% 0.171 328.7);
Tailwind
colors: {
  custom: {
    50: '#b16ead',
    500: '#8d2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d8b;
$custom-light: #b16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d8b",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 301.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.1707,
    "h": 328.7
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#8D2D8B
secondary
#61B563
accent
#DB504D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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