#8D1EA8#8D1EA8

#8D1EA8 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.3% C 0.211 H 318.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8D1EA8
RGBrgb(141, 30, 168)
HSLhsl(288, 70%, 39%)
HSVhsv(288, 82%, 66%)
CMYKcmyk(16.1%, 82.1%, 0%, 34.1%)
CIE-LABlab(36.78, 62.35, -49.67)
CIE-LCHlch(36.78, 79.71, 321.46°)
OKLaboklab(48.3% 0.1579 -0.1398)
OKLCHoklch(48.3% 0.211 318.5)
XYZxyz(18.5157, 9.4193, 37.8810)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EA8 #39A81E
analogous
#481EA8 #8D1EA8 #A81E7E
triadic
#8D1EA8 #A88D1E #1EA88D
tetradic
#8D1EA8 #A8481E #39A81E #1E7EA8
square
#8D1EA8 #A8481E #39A81E #1E7EA8
split-complementary
#8D1EA8 #7EA81E #1EA848
monochromatic
#360B40 #611574 #8D1EA8 #B72AD9 #C85EE2

Accessibility & contrast

On white

7.28
#8D1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1EA8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EA8#FFFFFF#000000##FFFFFF
##8D1EA81.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#8C3F65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d1ea8;
/* rgb */ color: rgb(141, 30, 168);
/* oklch */ color: oklch(48.3% 0.211 318.5);
Tailwind
colors: {
  custom: {
    50: '#b369c3',
    500: '#8d1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ea8;
$custom-light: #b369c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ea8",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 288.261,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.2109,
    "h": 318.5
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#8D1EA8
secondary
#70C75B
accent
#ED3B5E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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