#8D1FC3#8D1FC3

#8D1FC3 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.4% C 0.233 H 310.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8D1FC3
RGBrgb(141, 31, 195)
HSLhsl(280, 73%, 44%)
HSVhsv(280, 84%, 76%)
CMYKcmyk(27.7%, 84.1%, 0%, 23.5%)
CIE-LABlab(38.87, 67.31, -62.27)
CIE-LCHlch(38.87, 91.69, 317.23°)
OKLaboklab(50.38% 0.1512 -0.1768)
OKLCHoklch(50.38% 0.233 310.5)
XYZxyz(21.3229, 10.5833, 52.5387)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FC3 #55C31F
analogous
#3B1FC3 #8D1FC3 #C31FA7
triadic
#8D1FC3 #C38D1F #1FC38D
tetradic
#8D1FC3 #C33B1F #55C31F #1FA7C3
square
#8D1FC3 #C33B1F #55C31F #1FA7C3
split-complementary
#8D1FC3 #A7C31F #1FC33B
monochromatic
#410E59 #67178E #8D1FC3 #AB3FE0 #C274E9

Accessibility & contrast

On white

6.74
#8D1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D1FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D1FC3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FC3#FFFFFF#000000##FFFFFF
##8D1FC31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#854C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d1fc3;
/* rgb */ color: rgb(141, 31, 195);
/* oklch */ color: oklch(50.4% 0.233 310.5);
Tailwind
colors: {
  custom: {
    50: '#b46bd6',
    500: '#8d1fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fc3;
$custom-light: #b46bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fc3",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 195
  },
  "hsl": {
    "h": 280.244,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.23268,
    "h": 310.5
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#8D1FC3
secondary
#8ED06E
accent
#EF3975
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8D1FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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