#8D1FB1#8D1FB1

#8D1FB1 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.218 H 315.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1FB1
RGBrgb(141, 31, 177)
HSLhsl(285, 70%, 41%)
HSVhsv(285, 82%, 69%)
CMYKcmyk(20.3%, 82.5%, 0%, 30.6%)
CIE-LABlab(37.51, 63.78, -53.85)
CIE-LCHlch(37.51, 83.47, 319.82°)
OKLaboklab(49.01% 0.1555 -0.1521)
OKLCHoklch(49.01% 0.218 315.6)
XYZxyz(19.4090, 9.8178, 42.4591)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FB1 #43B11F
analogous
#441FB1 #8D1FB1 #B11F8C
triadic
#8D1FB1 #B18D1F #1FB18D
tetradic
#8D1FB1 #B1441F #43B11F #1F8CB1
square
#8D1FB1 #B1441F #43B11F #1F8CB1
split-complementary
#8D1FB1 #8CB11F #1FB144
monochromatic
#3A0D49 #64167D #8D1FB1 #B132DB #C566E4

Accessibility & contrast

On white

7.09
#8D1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1FB1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FB1#FFFFFF#000000##FFFFFF
##8D1FB11.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#8A436A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d1fb1;
/* rgb */ color: rgb(141, 31, 177);
/* oklch */ color: oklch(49.0% 0.218 315.6);
Tailwind
colors: {
  custom: {
    50: '#b36ac9',
    500: '#8d1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fb1;
$custom-light: #b36ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fb1",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 285.205,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.21753,
    "h": 315.6
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#8D1FB1
secondary
#7CCA62
accent
#ED3B67
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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