#8E1E97#8E1E97

#8E1E97 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.198 H 324.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8E1E97
RGBrgb(142, 30, 151)
HSLhsl(296, 67%, 35%)
HSVhsv(296, 80%, 59%)
CMYKcmyk(6%, 80.1%, 0%, 40.8%)
CIE-LABlab(35.82, 59.48, -40.92)
CIE-LCHlch(35.82, 72.20, 325.47°)
OKLaboklab(47.3% 0.1612 -0.1142)
OKLCHoklch(47.3% 0.198 324.7)
XYZxyz(17.2051, 8.9148, 30.0867)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E97 #27971E
analogous
#511E97 #8E1E97 #971E63
triadic
#8E1E97 #978E1E #1E978E
tetradic
#8E1E97 #97511E #27971E #1E6397
square
#8E1E97 #97511E #27971E #1E6397
split-complementary
#8E1E97 #63971E #1E9751
monochromatic
#2E0A31 #5E1464 #8E1E97 #BE28CA #D253DD

Accessibility & contrast

On white

7.55
#8E1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E97
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E97#FFFFFF#000000##FFFFFF
##8E1E971.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#91365B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1e97;
/* rgb */ color: rgb(142, 30, 151);
/* oklch */ color: oklch(47.3% 0.198 324.7);
Tailwind
colors: {
  custom: {
    50: '#b369b6',
    500: '#8e1e97',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e97;
$custom-light: #b369b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e97",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 295.537,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47295,
    "c": 0.19756,
    "h": 324.7
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#8E1E97
secondary
#59C051
accent
#EA3E4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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