#8D2D94#8D2D94

#8D2D94 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.178 H 325.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D2D94
RGBrgb(141, 45, 148)
HSLhsl(296, 53%, 38%)
HSVhsv(296, 70%, 58%)
CMYKcmyk(4.7%, 69.6%, 0%, 42%)
CIE-LABlab(37.26, 53.62, -36.81)
CIE-LCHlch(37.26, 65.04, 325.53°)
OKLaboklab(48.23% 0.1461 -0.1023)
OKLCHoklch(48.23% 0.178 325)
XYZxyz(17.2678, 9.6787, 28.9699)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D94 #34942D
analogous
#592D94 #8D2D94 #942D68
triadic
#8D2D94 #948D2D #2D948D
tetradic
#8D2D94 #94592D #34942D #2D6894
square
#8D2D94 #94592D #34942D #2D6894
split-complementary
#8D2D94 #68942D #2D9459
monochromatic
#341036 #601F65 #8D2D94 #BA3BC3 #CB6AD2

Accessibility & contrast

On white

7.15
#8D2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D94
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D94#FFFFFF#000000##FFFFFF
##8D2D941.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155097
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#903D5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d94;
/* rgb */ color: rgb(141, 45, 148);
/* oklch */ color: oklch(48.2% 0.178 325.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb4',
    500: '#8d2d94',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d94;
$custom-light: #b26fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d94",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 295.922,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48231,
    "c": 0.17835,
    "h": 325
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#8D2D94
secondary
#6AB864
accent
#DD4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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