#8D1EBC#8D1EBC

#8D1EBC is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.8% C 0.228 H 312.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D1EBC
RGBrgb(141, 30, 188)
HSLhsl(282, 72%, 43%)
HSVhsv(282, 84%, 74%)
CMYKcmyk(25%, 84%, 0%, 26.3%)
CIE-LABlab(38.24, 66.18, -59.18)
CIE-LCHlch(38.24, 88.78, 318.20°)
OKLaboklab(49.78% 0.1537 -0.1677)
OKLCHoklch(49.78% 0.228 312.5)
XYZxyz(20.5242, 10.2227, 48.4592)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EBC #4DBC1E
analogous
#3E1EBC #8D1EBC #BC1E9C
triadic
#8D1EBC #BC8D1E #1EBC8D
tetradic
#8D1EBC #BC3E1E #4DBC1E #1E9CBC
square
#8D1EBC #BC3E1E #4DBC1E #1E9CBC
split-complementary
#8D1EBC #9CBC1E #1EBC3E
monochromatic
#3E0D52 #651687 #8D1EBC #AD38DF #C36DE8

Accessibility & contrast

On white

6.90
#8D1EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D1EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D1EBC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EBC#FFFFFF#000000##FFFFFF
##8D1EBC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#874870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d1ebc;
/* rgb */ color: rgb(141, 30, 188);
/* oklch */ color: oklch(49.8% 0.228 312.5);
Tailwind
colors: {
  custom: {
    50: '#b46bd1',
    500: '#8d1ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8d1ebc;
$custom-light: #b46bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1ebc",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 282.152,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.2275,
    "h": 312.5
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#8D1EBC
secondary
#86CE68
accent
#EF396F
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83

Preview Lab

Preview with #8D1EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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