#8D2D9D#8D2D9D

#8D2D9D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.186 H 321.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D2D9D
RGBrgb(141, 45, 157)
HSLhsl(291, 55%, 40%)
HSVhsv(291, 71%, 62%)
CMYKcmyk(10.2%, 71.3%, 0%, 38.4%)
CIE-LABlab(37.80, 55.29, -41.41)
CIE-LCHlch(37.80, 69.08, 323.17°)
OKLaboklab(48.79% 0.1459 -0.1157)
OKLCHoklch(48.79% 0.186 321.6)
XYZxyz(18.0080, 9.9748, 32.8685)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D9D #3D9D2D
analogous
#552D9D #8D2D9D #9D2D75
triadic
#8D2D9D #9D8D2D #2D9D8D
tetradic
#8D2D9D #9D552D #3D9D2D #2D759D
square
#8D2D9D #9D552D #3D9D2D #2D759D
split-complementary
#8D2D9D #759D2D #2D9D55
monochromatic
#38123E #621F6D #8D2D9D #B43FC8 #C76FD6

Accessibility & contrast

On white

7.01
#8D2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D9D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D9D#FFFFFF#000000##FFFFFF
##8D2D9D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#8E4162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2d9d;
/* rgb */ color: rgb(141, 45, 157);
/* oklch */ color: oklch(48.8% 0.186 321.6);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8d2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d9d;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d9d",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 291.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.18622,
    "h": 321.6
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#8D2D9D
secondary
#75BD69
accent
#DF495E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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