#8D1FC2#8D1FC2

#8D1FC2 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.3% C 0.232 H 310.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D1FC2
RGBrgb(141, 31, 194)
HSLhsl(280, 72%, 44%)
HSVhsv(280, 84%, 76%)
CMYKcmyk(27.3%, 84%, 0%, 23.9%)
CIE-LABlab(38.79, 67.11, -61.81)
CIE-LCHlch(38.79, 91.23, 317.35°)
OKLaboklab(50.31% 0.1515 -0.1755)
OKLCHoklch(50.31% 0.232 310.8)
XYZxyz(21.2102, 10.5383, 51.9452)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FC2 #54C21F
analogous
#3C1FC2 #8D1FC2 #C21FA6
triadic
#8D1FC2 #C28D1F #1FC28D
tetradic
#8D1FC2 #C23C1F #54C21F #1FA6C2
square
#8D1FC2 #C23C1F #54C21F #1FA6C2
split-complementary
#8D1FC2 #A6C21F #1FC23C
monochromatic
#400E58 #67178D #8D1FC2 #AB3EE0 #C273E9

Accessibility & contrast

On white

6.76
#8D1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D1FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D1FC2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FC2#FFFFFF#000000##FFFFFF
##8D1FC21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#864C74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d1fc2;
/* rgb */ color: rgb(141, 31, 194);
/* oklch */ color: oklch(50.3% 0.232 310.8);
Tailwind
colors: {
  custom: {
    50: '#b46bd5',
    500: '#8d1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fc2;
$custom-light: #b46bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fc2",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 280.491,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.23182,
    "h": 310.8
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#8D1FC2
secondary
#8DCF6D
accent
#EF3974
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8D1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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