#8D1EAE#8D1EAE

#8D1EAE is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.216 H 316.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8D1EAE
RGBrgb(141, 30, 174)
HSLhsl(286, 71%, 40%)
HSVhsv(286, 83%, 68%)
CMYKcmyk(19%, 82.8%, 0%, 31.8%)
CIE-LABlab(37.20, 63.48, -52.57)
CIE-LCHlch(37.20, 82.42, 320.37°)
OKLaboklab(48.73% 0.1568 -0.1483)
OKLCHoklch(48.73% 0.216 316.6)
XYZxyz(19.0876, 9.6481, 40.8930)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EAE #3FAE1E
analogous
#451EAE #8D1EAE #AE1E87
triadic
#8D1EAE #AE8D1E #1EAE8D
tetradic
#8D1EAE #AE451E #3FAE1E #1E87AE
square
#8D1EAE #AE451E #3FAE1E #1E87AE
split-complementary
#8D1EAE #87AE1E #1EAE45
monochromatic
#380C46 #63157A #8D1EAE #B32EDB #C662E4

Accessibility & contrast

On white

7.17
#8D1EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D1EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1EAE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EAE#FFFFFF#000000##FFFFFF
##8D1EAE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#1D5AAB
Tritanopia (blue-blind)
#8B4268
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d1eae;
/* rgb */ color: rgb(141, 30, 174);
/* oklch */ color: oklch(48.7% 0.216 316.6);
Tailwind
colors: {
  custom: {
    50: '#b36ac7',
    500: '#8d1eae',
    950: '#000000',
  },
}
SCSS
$custom: #8d1eae;
$custom-light: #b36ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1eae",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 286.25,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.21584,
    "h": 316.6
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#8D1EAE
secondary
#77C95F
accent
#ED3A63
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D1EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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