#8D1E95#8D1E95

#8D1E95 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.196 H 325.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8D1E95
RGBrgb(141, 30, 149)
HSLhsl(296, 66%, 35%)
HSVhsv(296, 80%, 58%)
CMYKcmyk(5.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(35.52, 58.93, -40.19)
CIE-LCHlch(35.52, 71.33, 325.71°)
OKLaboklab(47.01% 0.1603 -0.112)
OKLCHoklch(47.01% 0.196 325)
XYZxyz(16.8732, 8.7623, 29.2305)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E95 #26951E
analogous
#511E95 #8D1E95 #951E62
triadic
#8D1E95 #958D1E #1E958D
tetradic
#8D1E95 #95511E #26951E #1E6295
square
#8D1E95 #95511E #26951E #1E6295
split-complementary
#8D1E95 #62951E #1E9551
monochromatic
#2D092F #5D1462 #8D1E95 #BD28C8 #D351DC

Accessibility & contrast

On white

7.63
#8D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E95
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E95#FFFFFF#000000##FFFFFF
##8D1E951.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#395892
Tritanopia (blue-blind)
#90355A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1e95;
/* rgb */ color: rgb(141, 30, 149);
/* oklch */ color: oklch(47.0% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#b268b5',
    500: '#8d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e95;
$custom-light: #b268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e95",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 295.966,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.19555,
    "h": 325
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#8D1E95
secondary
#57BF50
accent
#E93E4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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