#8E1FC2#8E1FC2

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

Color values

HEX#8E1FC2
RGBrgb(142, 31, 194)
HSLhsl(281, 72%, 44%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(26.8%, 84%, 0%, 23.9%)
CIE-LABlab(38.94, 67.26, -61.55)
CIE-LCHlch(38.94, 91.17, 317.54°)
OKLaboklab(50.44% 0.1528 -0.1747)
OKLCHoklch(50.44% 0.232 311.2)
XYZxyz(21.3810, 10.6264, 51.9533)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1FC2 #53C21F
analogous
#3D1FC2 #8E1FC2 #C21FA5
triadic
#8E1FC2 #C28E1F #1FC28E
tetradic
#8E1FC2 #C23D1F #53C21F #1FA5C2
square
#8E1FC2 #C23D1F #53C21F #1FA5C2
split-complementary
#8E1FC2 #A5C21F #1FC23D
monochromatic
#410E58 #67178D #8E1FC2 #AC3EE0 #C373E9

Accessibility & contrast

On white

6.72
#8E1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E1FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E1FC2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1FC2#FFFFFF#000000##FFFFFF
##8E1FC21.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#874B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e1fc2;
/* rgb */ color: rgb(142, 31, 194);
/* oklch */ color: oklch(50.4% 0.232 311.2);
Tailwind
colors: {
  custom: {
    50: '#b56bd5',
    500: '#8e1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e1fc2;
$custom-light: #b56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1fc2",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 280.859,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.2321,
    "h": 311.2
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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