#8D2D8E#8D2D8E

#8D2D8E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 327.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2D8E
RGBrgb(141, 45, 142)
HSLhsl(299, 52%, 37%)
HSVhsv(299, 68%, 56%)
CMYKcmyk(0.7%, 68.3%, 0%, 44.3%)
CIE-LABlab(36.92, 52.54, -33.68)
CIE-LCHlch(36.92, 62.41, 327.33°)
OKLaboklab(47.88% 0.146 -0.0932)
OKLCHoklch(47.88% 0.173 327.4)
XYZxyz(16.8051, 9.4936, 26.5333)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D8E #2E8E2D
analogous
#5D2D8E #8D2D8E #8E2D5F
triadic
#8D2D8E #8E8D2D #2D8E8D
tetradic
#8D2D8E #8E5D2D #2E8E2D #2D5F8E
square
#8D2D8E #8E5D2D #2E8E2D #2D5F8E
split-complementary
#8D2D8E #5F8E2D #2D8E5D
monochromatic
#311031 #5F1E60 #8D2D8E #BB3CBC #CE67CF

Accessibility & contrast

On white

7.25
#8D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D8E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D8E#FFFFFF#000000##FFFFFF
##8D2D8E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#913B5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2d8e;
/* rgb */ color: rgb(141, 45, 142);
/* oklch */ color: oklch(47.9% 0.173 327.4);
Tailwind
colors: {
  custom: {
    50: '#b16eaf',
    500: '#8d2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d8e;
$custom-light: #b16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d8e",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 299.381,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.17323,
    "h": 327.4
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#8D2D8E
secondary
#62B561
accent
#DB4C4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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