#8E1C91#8E1C91

#8E1C91 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.195 H 327.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8E1C91
RGBrgb(142, 28, 145)
HSLhsl(298, 68%, 34%)
HSVhsv(298, 81%, 57%)
CMYKcmyk(2.1%, 80.7%, 0%, 43.1%)
CIE-LABlab(35.26, 59.01, -38.16)
CIE-LCHlch(35.26, 70.27, 327.11°)
OKLaboklab(46.78% 0.1632 -0.1061)
OKLCHoklch(46.78% 0.195 327)
XYZxyz(16.6811, 8.6268, 27.5691)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C91 #1F911C
analogous
#541C91 #8E1C91 #911C5A
triadic
#8E1C91 #918E1C #1C918E
tetradic
#8E1C91 #91541C #1F911C #1C5A91
square
#8E1C91 #91541C #1F911C #1C5A91
split-complementary
#8E1C91 #5A911C #1C9154
monochromatic
#2A082A #5C125E #8E1C91 #C026C4 #D94BDC

Accessibility & contrast

On white

7.71
#8E1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C91
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C91#FFFFFF#000000##FFFFFF
##8E1C911.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#923257
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e1c91;
/* rgb */ color: rgb(142, 28, 145);
/* oklch */ color: oklch(46.8% 0.195 327.0);
Tailwind
colors: {
  custom: {
    50: '#b368b2',
    500: '#8e1c91',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c91;
$custom-light: #b368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c91",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 298.462,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.19465,
    "h": 327
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#8E1C91
secondary
#4DBE4A
accent
#EB3D42
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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