#8D2D95#8D2D95

#8D2D95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.179 H 324.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8D2D95
RGBrgb(141, 45, 149)
HSLhsl(295, 54%, 38%)
HSVhsv(295, 70%, 58%)
CMYKcmyk(5.4%, 69.8%, 0%, 41.6%)
CIE-LABlab(37.32, 53.80, -37.32)
CIE-LCHlch(37.32, 65.48, 325.25°)
OKLaboklab(48.29% 0.1461 -0.1038)
OKLCHoklch(48.29% 0.179 324.6)
XYZxyz(17.3473, 9.7105, 29.3885)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D95 #35952D
analogous
#592D95 #8D2D95 #952D69
triadic
#8D2D95 #958D2D #2D958D
tetradic
#8D2D95 #95592D #35952D #2D6995
square
#8D2D95 #95592D #35952D #2D6995
split-complementary
#8D2D95 #69952D #2D9559
monochromatic
#341137 #611F66 #8D2D95 #B93BC4 #CA6AD2

Accessibility & contrast

On white

7.14
#8D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2D95
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D95#FFFFFF#000000##FFFFFF
##8D2D951.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#903E5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d95;
/* rgb */ color: rgb(141, 45, 149);
/* oklch */ color: oklch(48.3% 0.179 324.6);
Tailwind
colors: {
  custom: {
    50: '#b26fb4',
    500: '#8d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d95;
$custom-light: #b26fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d95",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 295.385,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.17922,
    "h": 324.6
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#8D2D95
secondary
#6BB965
accent
#DD4B56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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