#8D1EA7#8D1EA7

#8D1EA7 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.210 H 318.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D1EA7
RGBrgb(141, 30, 167)
HSLhsl(289, 70%, 39%)
HSVhsv(289, 82%, 65%)
CMYKcmyk(15.6%, 82%, 0%, 34.5%)
CIE-LABlab(36.71, 62.16, -49.18)
CIE-LCHlch(36.71, 79.26, 321.65°)
OKLaboklab(48.23% 0.1581 -0.1384)
OKLCHoklch(48.23% 0.21 318.8)
XYZxyz(18.4229, 9.3822, 37.3923)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EA7 #38A71E
analogous
#481EA7 #8D1EA7 #A71E7C
triadic
#8D1EA7 #A78D1E #1EA78D
tetradic
#8D1EA7 #A7481E #38A71E #1E7CA7
square
#8D1EA7 #A7481E #38A71E #1E7CA7
split-complementary
#8D1EA7 #7CA71E #1EA748
monochromatic
#350B3F #611573 #8D1EA7 #B72AD9 #C95DE2

Accessibility & contrast

On white

7.30
#8D1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1EA7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EA7#FFFFFF#000000##FFFFFF
##8D1EA71.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#8D3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d1ea7;
/* rgb */ color: rgb(141, 30, 167);
/* oklch */ color: oklch(48.2% 0.210 318.8);
Tailwind
colors: {
  custom: {
    50: '#b369c2',
    500: '#8d1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ea7;
$custom-light: #b369c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ea7",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 288.613,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.21008,
    "h": 318.8
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#8D1EA7
secondary
#6FC65B
accent
#EC3B5D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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