#8D1EA6#8D1EA6

#8D1EA6 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.2% C 0.209 H 319.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8D1EA6
RGBrgb(141, 30, 166)
HSLhsl(289, 69%, 38%)
HSVhsv(289, 82%, 65%)
CMYKcmyk(15.1%, 81.9%, 0%, 34.9%)
CIE-LABlab(36.64, 61.98, -48.69)
CIE-LCHlch(36.64, 78.82, 321.85°)
OKLaboklab(48.16% 0.1582 -0.1369)
OKLCHoklch(48.16% 0.209 319.1)
XYZxyz(18.3308, 9.3454, 36.9073)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EA6 #37A61E
analogous
#491EA6 #8D1EA6 #A61E7B
triadic
#8D1EA6 #A68D1E #1EA68D
tetradic
#8D1EA6 #A6491E #37A61E #1E7BA6
square
#8D1EA6 #A6491E #37A61E #1E7BA6
split-complementary
#8D1EA6 #7BA61E #1EA649
monochromatic
#350B3E #611572 #8D1EA6 #B829D8 #C95DE2

Accessibility & contrast

On white

7.32
#8D1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1EA6
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EA6#FFFFFF#000000##FFFFFF
##8D1EA61.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#295AA3
Tritanopia (blue-blind)
#8D3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d1ea6;
/* rgb */ color: rgb(141, 30, 166);
/* oklch */ color: oklch(48.2% 0.209 319.1);
Tailwind
colors: {
  custom: {
    50: '#b369c1',
    500: '#8d1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ea6;
$custom-light: #b369c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ea6",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 288.971,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48157,
    "c": 0.20926,
    "h": 319.1
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#8D1EA6
secondary
#6EC65A
accent
#EC3C5C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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