#8D1E9D#8D1E9D

#8D1E9D is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.202 H 322.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8D1E9D
RGBrgb(141, 30, 157)
HSLhsl(292, 68%, 37%)
HSVhsv(292, 81%, 62%)
CMYKcmyk(10.2%, 80.9%, 0%, 38.4%)
CIE-LABlab(36.04, 60.34, -44.23)
CIE-LCHlch(36.04, 74.82, 323.76°)
OKLaboklab(47.54% 0.1595 -0.1239)
OKLCHoklch(47.54% 0.202 322.2)
XYZxyz(17.5339, 9.0266, 32.7105)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E9D #2E9D1E
analogous
#4E1E9D #8D1E9D #9D1E6E
triadic
#8D1E9D #9D8D1E #1E9D8D
tetradic
#8D1E9D #9D4E1E #2E9D1E #1E6E9D
square
#8D1E9D #9D4E1E #2E9D1E #1E6E9D
split-complementary
#8D1E9D #6E9D1E #1E9D4E
monochromatic
#310A36 #5F146A #8D1E9D #BB28D0 #CE57DF

Accessibility & contrast

On white

7.49
#8D1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E9D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E9D#FFFFFF#000000##FFFFFF
##8D1E9D1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#8F395E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1e9d;
/* rgb */ color: rgb(141, 30, 157);
/* oklch */ color: oklch(47.5% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#b269ba',
    500: '#8d1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e9d;
$custom-light: #b269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e9d",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 292.441,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.20194,
    "h": 322.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#8D1E9D
secondary
#62C254
accent
#EB3D53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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