#8C1FC2#8C1FC2

#8C1FC2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.2% C 0.232 H 310.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8C1FC2
RGBrgb(140, 31, 194)
HSLhsl(280, 72%, 44%)
HSVhsv(280, 84%, 76%)
CMYKcmyk(27.8%, 84%, 0%, 23.9%)
CIE-LABlab(38.64, 66.95, -62.06)
CIE-LCHlch(38.64, 91.29, 317.17°)
OKLaboklab(50.17% 0.1502 -0.1762)
OKLCHoklch(50.17% 0.232 310.4)
XYZxyz(21.0409, 10.4510, 51.9373)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1FC2 #55C21F
analogous
#3B1FC2 #8C1FC2 #C21FA7
triadic
#8C1FC2 #C28C1F #1FC28C
tetradic
#8C1FC2 #C23B1F #55C21F #1FA7C2
square
#8C1FC2 #C23B1F #55C21F #1FA7C2
split-complementary
#8C1FC2 #A7C21F #1FC23B
monochromatic
#400E58 #66178D #8C1FC2 #AA3EE0 #C273E9

Accessibility & contrast

On white

6.80
#8C1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8C1FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C1FC2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1FC2#FFFFFF#000000##FFFFFF
##8C1FC21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c1fc2;
/* rgb */ color: rgb(140, 31, 194);
/* oklch */ color: oklch(50.2% 0.232 310.4);
Tailwind
colors: {
  custom: {
    50: '#b36bd5',
    500: '#8c1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8c1fc2;
$custom-light: #b36bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1fc2",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 280.123,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.23156,
    "h": 310.4
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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