#8E1E94#8E1E94

#8E1E94 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.195 H 325.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8E1E94
RGBrgb(142, 30, 148)
HSLhsl(297, 66%, 35%)
HSVhsv(297, 80%, 58%)
CMYKcmyk(4.1%, 79.7%, 0%, 42%)
CIE-LABlab(35.63, 58.96, -39.39)
CIE-LCHlch(35.63, 70.91, 326.25°)
OKLaboklab(47.1% 0.1615 -0.1097)
OKLCHoklch(47.1% 0.195 325.8)
XYZxyz(16.9645, 8.8186, 28.8199)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E94 #24941E
analogous
#531E94 #8E1E94 #941E5F
triadic
#8E1E94 #948E1E #1E948E
tetradic
#8E1E94 #94531E #24941E #1E5F94
square
#8E1E94 #94531E #24941E #1E5F94
split-complementary
#8E1E94 #5F941E #1E9453
monochromatic
#2C092E #5D1461 #8E1E94 #BF28C7 #D551DC

Accessibility & contrast

On white

7.60
#8E1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E94
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E94#FFFFFF#000000##FFFFFF
##8E1E941.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#3B5891
Tritanopia (blue-blind)
#923459
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1e94;
/* rgb */ color: rgb(142, 30, 148);
/* oklch */ color: oklch(47.1% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#b369b4',
    500: '#8e1e94',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e94;
$custom-light: #b369b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e94",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 296.949,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.1952,
    "h": 325.8
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#8E1E94
secondary
#55BF4F
accent
#E93F47
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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