#8D1A8E#8D1A8E

#8D1A8E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.194 H 327.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8D1A8E
RGBrgb(141, 26, 142)
HSLhsl(299, 69%, 33%)
HSVhsv(299, 82%, 56%)
CMYKcmyk(0.7%, 81.7%, 0%, 44.3%)
CIE-LABlab(34.71, 58.84, -37.19)
CIE-LCHlch(34.71, 69.61, 327.71°)
OKLaboklab(46.3% 0.1638 -0.1033)
OKLCHoklch(46.3% 0.194 327.8)
XYZxyz(16.2362, 8.3557, 26.3436)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A8E #1B8E1A
analogous
#531A8E #8D1A8E #8E1A55
triadic
#8D1A8E #8E8D1A #1A8E8D
tetradic
#8D1A8E #8E531A #1B8E1A #1A558E
square
#8D1A8E #8E531A #1B8E1A #1A558E
split-complementary
#8D1A8E #558E1A #1A8E53
monochromatic
#260727 #5A115A #8D1A8E #C023C2 #DC45DD

Accessibility & contrast

On white

7.86
#8D1A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A8E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A8E#FFFFFF#000000##FFFFFF
##8D1A8E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3C578B
Tritanopia (blue-blind)
#912F55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1a8e;
/* rgb */ color: rgb(141, 26, 142);
/* oklch */ color: oklch(46.3% 0.194 327.8);
Tailwind
colors: {
  custom: {
    50: '#b267af',
    500: '#8d1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a8e;
$custom-light: #b267af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a8e",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 299.483,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46298,
    "c": 0.19362,
    "h": 327.8
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#8D1A8E
secondary
#46BE45
accent
#EC3C3D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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