#8E1B97#8E1B97

#8E1B97 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.200 H 324.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8E1B97
RGBrgb(142, 27, 151)
HSLhsl(296, 70%, 35%)
HSVhsv(296, 82%, 59%)
CMYKcmyk(6%, 82.1%, 0%, 40.8%)
CIE-LABlab(35.54, 60.30, -41.37)
CIE-LCHlch(35.54, 73.13, 325.54°)
OKLaboklab(47.1% 0.1635 -0.1155)
OKLCHoklch(47.1% 0.2 324.8)
XYZxyz(17.1327, 8.7702, 30.0626)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B97 #24971B
analogous
#501B97 #8E1B97 #971B62
triadic
#8E1B97 #978E1B #1B978E
tetradic
#8E1B97 #97501B #24971B #1B6297
square
#8E1B97 #97501B #24971B #1B6297
split-complementary
#8E1B97 #62971B #1B9750
monochromatic
#2C082F #5D1263 #8E1B97 #BF24CB #D54DDF

Accessibility & contrast

On white

7.63
#8E1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B97
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B97#FFFFFF#000000##FFFFFF
##8E1B971.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#91345A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1b97;
/* rgb */ color: rgb(142, 27, 151);
/* oklch */ color: oklch(47.1% 0.200 324.8);
Tailwind
colors: {
  custom: {
    50: '#b368b6',
    500: '#8e1b97',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b97;
$custom-light: #b368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b97",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 295.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.20015,
    "h": 324.8
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#8E1B97
secondary
#55C14C
accent
#EC3B48
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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