#8D2D7E#8D2D7E

#8D2D7E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.160 H 334.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2D7E
RGBrgb(141, 45, 126)
HSLhsl(309, 52%, 36%)
HSVhsv(309, 68%, 55%)
CMYKcmyk(0%, 68.1%, 10.6%, 44.7%)
CIE-LABlab(36.07, 49.82, -25.13)
CIE-LCHlch(36.07, 55.80, 333.23°)
OKLaboklab(46.99% 0.1448 -0.0686)
OKLCHoklch(46.99% 0.16 334.7)
XYZxyz(15.6889, 9.0471, 20.6546)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D7E #2D8D3C
analogous
#6C2D8D #8D2D7E #8D2D4E
triadic
#8D2D7E #7E8D2D #2D7E8D
tetradic
#8D2D7E #8D6C2D #2D8D3C #2D4E8D
square
#8D2D7E #8D6C2D #2D8D3C #2D4E8D
split-complementary
#8D2D7E #4E8D2D #2D8D6C
monochromatic
#300F2B #5F1E55 #8D2D7E #BB3CA7 #CE66BE

Accessibility & contrast

On white

7.48
#8D2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2D7E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D7E#FFFFFF#000000##FFFFFF
##8D2D7E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#943451
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2d7e;
/* rgb */ color: rgb(141, 45, 126);
/* oklch */ color: oklch(47.0% 0.160 334.7);
Tailwind
colors: {
  custom: {
    50: '#b16ea3',
    500: '#8d2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d7e;
$custom-light: #b16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d7e",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 309.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.16018,
    "h": 334.7
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#8D2D7E
secondary
#61B56E
accent
#DB634D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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