#8D1EA1#8D1EA1

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

Color values

HEX#8D1EA1
RGBrgb(141, 30, 161)
HSLhsl(291, 69%, 37%)
HSVhsv(291, 81%, 63%)
CMYKcmyk(12.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(36.30, 61.06, -46.23)
CIE-LCHlch(36.30, 76.59, 322.87°)
OKLaboklab(47.81% 0.159 -0.1297)
OKLCHoklch(47.81% 0.205 320.8)
XYZxyz(17.8810, 9.1655, 34.5386)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EA1 #32A11E
analogous
#4C1EA1 #8D1EA1 #A11E73
triadic
#8D1EA1 #A18D1E #1EA18D
tetradic
#8D1EA1 #A14C1E #32A11E #1E73A1
square
#8D1EA1 #A14C1E #32A11E #1E73A1
split-complementary
#8D1EA1 #73A11E #1EA14C
monochromatic
#330B3A #60146D #8D1EA1 #BA28D5 #CC59E0

Accessibility & contrast

On white

7.41
#8D1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1EA1
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EA1#FFFFFF#000000##FFFFFF
##8D1EA11.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#8E3B61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1ea1;
/* rgb */ color: rgb(141, 30, 161);
/* oklch */ color: oklch(47.8% 0.205 320.8);
Tailwind
colors: {
  custom: {
    50: '#b269bd',
    500: '#8d1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ea1;
$custom-light: #b269bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ea1",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 290.84,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.20518,
    "h": 320.8
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#8D1EA1
secondary
#68C457
accent
#EB3C57
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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