#8D1CA1#8D1CA1

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

Color values

HEX#8D1CA1
RGBrgb(141, 28, 161)
HSLhsl(291, 70%, 37%)
HSVhsv(291, 83%, 63%)
CMYKcmyk(12.4%, 82.6%, 0%, 36.9%)
CIE-LABlab(36.11, 61.61, -46.53)
CIE-LCHlch(36.11, 77.20, 322.94°)
OKLaboklab(47.68% 0.1604 -0.1306)
OKLCHoklch(47.68% 0.207 320.9)
XYZxyz(17.8320, 9.0674, 34.5222)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1CA1 #30A11C
analogous
#4A1CA1 #8D1CA1 #A11C73
triadic
#8D1CA1 #A18D1C #1CA18D
tetradic
#8D1CA1 #A14A1C #30A11C #1C73A1
square
#8D1CA1 #A14A1C #30A11C #1C73A1
split-complementary
#8D1CA1 #73A11C #1CA14A
monochromatic
#320A39 #5F136D #8D1CA1 #BB25D5 #CD56E2

Accessibility & contrast

On white

7.46
#8D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1CA1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1CA1#FFFFFF#000000##FFFFFF
##8D1CA11.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#2D599E
Tritanopia (blue-blind)
#8E3A60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1ca1;
/* rgb */ color: rgb(141, 28, 161);
/* oklch */ color: oklch(47.7% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#b368bd',
    500: '#8d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ca1;
$custom-light: #b368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ca1",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 290.977,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.20685,
    "h": 320.9
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#8D1CA1
secondary
#65C554
accent
#ED3B55
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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