#8D1E97#8D1E97

#8D1E97 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 324.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8D1E97
RGBrgb(141, 30, 151)
HSLhsl(295, 67%, 35%)
HSVhsv(295, 80%, 59%)
CMYKcmyk(6.6%, 80.1%, 0%, 40.8%)
CIE-LABlab(35.65, 59.28, -41.21)
CIE-LCHlch(35.65, 72.19, 325.20°)
OKLaboklab(47.14% 0.1601 -0.115)
OKLCHoklch(47.14% 0.197 324.3)
XYZxyz(17.0342, 8.8267, 30.0787)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E97 #28971E
analogous
#501E97 #8D1E97 #971E65
triadic
#8D1E97 #978D1E #1E978D
tetradic
#8D1E97 #97501E #28971E #1E6597
square
#8D1E97 #97501E #28971E #1E6597
split-complementary
#8D1E97 #65971E #1E9750
monochromatic
#2E0A31 #5D1464 #8D1E97 #BD28CA #D153DD

Accessibility & contrast

On white

7.59
#8D1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E97
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E97#FFFFFF#000000##FFFFFF
##8D1E971.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#90365B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1e97;
/* rgb */ color: rgb(141, 30, 151);
/* oklch */ color: oklch(47.1% 0.197 324.3);
Tailwind
colors: {
  custom: {
    50: '#b269b6',
    500: '#8d1e97',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e97;
$custom-light: #b269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e97",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 295.041,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.19713,
    "h": 324.3
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#8D1E97
secondary
#5AC051
accent
#EA3E4C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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