#8D1FA1#8D1FA1

#8D1FA1 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.204 H 320.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8D1FA1
RGBrgb(141, 31, 161)
HSLhsl(291, 68%, 38%)
HSVhsv(291, 81%, 63%)
CMYKcmyk(12.4%, 80.7%, 0%, 36.9%)
CIE-LABlab(36.40, 60.78, -46.07)
CIE-LCHlch(36.40, 76.27, 322.84°)
OKLaboklab(47.88% 0.1582 -0.1293)
OKLCHoklch(47.88% 0.204 320.8)
XYZxyz(17.9068, 9.2169, 34.5471)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FA1 #33A11F
analogous
#4C1FA1 #8D1FA1 #A11F74
triadic
#8D1FA1 #A18D1F #1FA18D
tetradic
#8D1FA1 #A14C1F #33A11F #1F74A1
square
#8D1FA1 #A14C1F #33A11F #1F74A1
split-complementary
#8D1FA1 #74A11F #1FA14C
monochromatic
#330B3A #60156E #8D1FA1 #BA29D4 #CB5BDF

Accessibility & contrast

On white

7.39
#8D1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D1FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1FA1
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FA1#FFFFFF#000000##FFFFFF
##8D1FA11.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#8E3C61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d1fa1;
/* rgb */ color: rgb(141, 31, 161);
/* oklch */ color: oklch(47.9% 0.204 320.8);
Tailwind
colors: {
  custom: {
    50: '#b269bd',
    500: '#8d1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fa1;
$custom-light: #b269bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fa1",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 290.769,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.20432,
    "h": 320.8
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#8D1FA1
secondary
#69C458
accent
#EB3D58
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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