#8E1FC3#8E1FC3

#8E1FC3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.233 H 310.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8E1FC3
RGBrgb(142, 31, 195)
HSLhsl(281, 73%, 44%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(27.2%, 84.1%, 0%, 23.5%)
CIE-LABlab(39.02, 67.46, -62.01)
CIE-LCHlch(39.02, 91.63, 317.41°)
OKLaboklab(50.52% 0.1526 -0.176)
OKLCHoklch(50.52% 0.233 310.9)
XYZxyz(21.4937, 10.6714, 52.5467)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1FC3 #54C31F
analogous
#3C1FC3 #8E1FC3 #C31FA6
triadic
#8E1FC3 #C38E1F #1FC38E
tetradic
#8E1FC3 #C33C1F #54C31F #1FA6C3
square
#8E1FC3 #C33C1F #54C31F #1FA6C3
split-complementary
#8E1FC3 #A6C31F #1FC33C
monochromatic
#410E59 #68178E #8E1FC3 #AC3FE0 #C374E9

Accessibility & contrast

On white

6.70
#8E1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E1FC3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1FC3#FFFFFF#000000##FFFFFF
##8E1FC31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1fc3;
/* rgb */ color: rgb(142, 31, 195);
/* oklch */ color: oklch(50.5% 0.233 310.9);
Tailwind
colors: {
  custom: {
    50: '#b56bd6',
    500: '#8e1fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8e1fc3;
$custom-light: #b56bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1fc3",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 195
  },
  "hsl": {
    "h": 280.61,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.23295,
    "h": 310.9
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E1FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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