#8E1FAE#8E1FAE

#8E1FAE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.215 H 316.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8E1FAE
RGBrgb(142, 31, 174)
HSLhsl(287, 70%, 40%)
HSVhsv(287, 82%, 68%)
CMYKcmyk(18.4%, 82.2%, 0%, 31.8%)
CIE-LABlab(37.46, 63.38, -52.15)
CIE-LCHlch(37.46, 82.07, 320.55°)
OKLaboklab(48.94% 0.1574 -0.1471)
OKLCHoklch(48.94% 0.215 316.9)
XYZxyz(19.2841, 9.7876, 40.9096)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1FAE #3FAE1F
analogous
#461FAE #8E1FAE #AE1F87
triadic
#8E1FAE #AE8E1F #1FAE8E
tetradic
#8E1FAE #AE461F #3FAE1F #1F87AE
square
#8E1FAE #AE461F #3FAE1F #1F87AE
split-complementary
#8E1FAE #87AE1F #1FAE46
monochromatic
#390C46 #64167A #8E1FAE #B430DA #C764E3

Accessibility & contrast

On white

7.10
#8E1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1FAE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1FAE#FFFFFF#000000##FFFFFF
##8E1FAE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#8C4268
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e1fae;
/* rgb */ color: rgb(142, 31, 174);
/* oklch */ color: oklch(48.9% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#b46ac7',
    500: '#8e1fae',
    950: '#000000',
  },
}
SCSS
$custom: #8e1fae;
$custom-light: #b46ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1fae",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 286.573,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.21537,
    "h": 316.9
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#8E1FAE
secondary
#78C860
accent
#ED3B63
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8E1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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