#8D1F9E#8D1F9E

#8D1F9E is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.202 H 321.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8D1F9E
RGBrgb(141, 31, 158)
HSLhsl(292, 67%, 37%)
HSVhsv(292, 80%, 62%)
CMYKcmyk(10.8%, 80.4%, 0%, 38%)
CIE-LABlab(36.20, 60.24, -44.57)
CIE-LCHlch(36.20, 74.93, 323.50°)
OKLaboklab(47.68% 0.1586 -0.1249)
OKLCHoklch(47.68% 0.202 321.8)
XYZxyz(17.6454, 9.1123, 33.1706)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F9E #309E1F
analogous
#4E1F9E #8D1F9E #9E1F6F
triadic
#8D1F9E #9E8D1F #1F9E8D
tetradic
#8D1F9E #9E4E1F #309E1F #1F6F9E
square
#8D1F9E #9E4E1F #309E1F #1F6F9E
split-complementary
#8D1F9E #6F9E1F #1F9E4E
monochromatic
#320B38 #5F156B #8D1F9E #BB29D1 #CD59DE

Accessibility & contrast

On white

7.44
#8D1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F9E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F9E#FFFFFF#000000##FFFFFF
##8D1F9E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8E3A5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1f9e;
/* rgb */ color: rgb(141, 31, 158);
/* oklch */ color: oklch(47.7% 0.202 321.8);
Tailwind
colors: {
  custom: {
    50: '#b269bb',
    500: '#8d1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f9e;
$custom-light: #b269bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f9e",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 291.969,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.20187,
    "h": 321.8
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#8D1F9E
secondary
#65C256
accent
#EA3E55
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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