#8D1C8E#8D1C8E

#8D1C8E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.192 H 327.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D1C8E
RGBrgb(141, 28, 142)
HSLhsl(299, 67%, 33%)
HSVhsv(299, 80%, 56%)
CMYKcmyk(0.7%, 80.3%, 0%, 44.3%)
CIE-LABlab(34.90, 58.30, -36.89)
CIE-LCHlch(34.90, 69.00, 327.67°)
OKLaboklab(46.43% 0.1623 -0.1024)
OKLCHoklch(46.43% 0.192 327.7)
XYZxyz(16.2820, 8.4474, 26.3589)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C8E #1D8E1C
analogous
#541C8E #8D1C8E #8E1C56
triadic
#8D1C8E #8E8D1C #1C8E8D
tetradic
#8D1C8E #8E541C #1D8E1C #1C568E
square
#8D1C8E #8E541C #1D8E1C #1C568E
split-complementary
#8D1C8E #568E1C #1C8E54
monochromatic
#270828 #5A125B #8D1C8E #C026C1 #DA49DB

Accessibility & contrast

On white

7.81
#8D1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C8E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C8E#FFFFFF#000000##FFFFFF
##8D1C8E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#913055
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1c8e;
/* rgb */ color: rgb(141, 28, 142);
/* oklch */ color: oklch(46.4% 0.192 327.7);
Tailwind
colors: {
  custom: {
    50: '#b267af',
    500: '#8d1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c8e;
$custom-light: #b267af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c8e",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 299.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4643,
    "c": 0.19189,
    "h": 327.7
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#8D1C8E
secondary
#4ABD49
accent
#EA3E3F
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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